-%doc README LICENSE CHANGELOG TODO
-/usr/bin/yaz-client*
-/usr/bin/yaz-ztest*
-/usr/bin/zoomsh*
-/usr/bin/yaz-marcdump
-/usr/bin/yaz-iconv
-/usr/share/man/man1/yaz-client-ssl.*
-/usr/share/man/man1/yaz-client.*
-/usr/share/man/man1/zoomsh.*
-/usr/share/man/man1/yaz-marcdump.*
-/usr/share/man/man1/yaz-iconv.*
-/usr/share/man/man8/yaz-ztest-ssl.*
-/usr/share/man/man8/yaz-ztest.*
-
-%files -n lib%{name}
-/usr/lib/*.so.*
-/usr/share/man/man7/yaz.*
-/usr/share/yaz/etc
-
-%files -n lib%{name}-devel
-/usr/bin/yaz-config
-/usr/bin/yaz-asncomp
-/usr/include/yaz
-/usr/lib/*.so
-/usr/lib/*.a
-/usr/lib/*.la
-/usr/share/aclocal/yaz.m4
-/usr/share/man/man1/yaz-asncomp.*
-/usr/share/man/man8/yaz-config.*
-/usr/share/doc/yaz
-/usr/share/yaz/z39.50
-/usr/share/yaz/ill
+%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.*