-%doc README LICENSE CHANGELOG TODO
-/usr/bin/yaz-client*
-/usr/bin/yaz-ztest*
-/usr/bin/zoomsh*
-/usr/share/man/man1/yaz-client-ssl.*
-/usr/share/man/man1/yaz-client.*
-/usr/share/man/man1/zoomsh.*
-/usr/share/man/man8/yaz-ztest-ssl.*
-/usr/share/man/man8/yaz-ztest.*
-
-%files -n lib%{name}
-/usr/lib/*.so.*
-/usr/share/doc/yaz
-/usr/share/yaz/z39.50
-/usr/share/yaz/ill
-/usr/share/man/man7/yaz.*
-
-%files -n lib%{name}-devel
-/usr/bin/yaz-config
-/usr/bin/yaz-comp
-/usr/include/yaz
-/usr/lib/*.so
-/usr/lib/*.a
-/usr/share/aclocal/yaz.m4
-/usr/share/man/man1/yaz-config.*
+%doc README LICENSE NEWS TODO
+%{_bindir}/yaz-client
+%{_bindir}/yaz-ztest
+%{_bindir}/zoomsh
+%{_bindir}/yaz-marcdump
+%{_bindir}/yaz-iconv
+%{_mandir}/man1/yaz-client.*
+%{_mandir}/man8/yaz-ztest.*
+%{_mandir}/man1/zoomsh.*
+%{_mandir}/man1/yaz-marcdump.*
+%{_mandir}/man1/yaz-iconv.*
+%{_mandir}/man7/yaz-log.*
+
+%files -n libyaz3
+%defattr(-,root,root)
+%{_libdir}/*.so.*
+
+%files -n libyaz3-devel
+%defattr(-,root,root)
+%{_bindir}/yaz-config
+%{_bindir}/yaz-asncomp
+%{_includedir}/yaz
+%{_libdir}/pkgconfig/yaz.pc
+%{_libdir}/*.so
+%{_libdir}/*.a
+%{_libdir}/*.la
+%{_datadir}/aclocal/yaz.m4
+%{_mandir}/man1/yaz-asncomp.*
+%{_mandir}/man7/yaz.*
+%{_mandir}/man8/yaz-config.*
+%{_datadir}/doc/yaz
+%{_datadir}/yaz
+
+%files -n yaz-illclient
+%defattr(-,root,root)
+%{_bindir}/yaz-illclient
+%{_mandir}/man1/yaz-illclient.*
+
+%files -n yaz-icu
+%defattr(-,root,root)
+%{_bindir}/yaz-icu
+%{_mandir}/man1/yaz-icu.*