- devel requires libmd-devel
- remove .la pollution and package .so libs properly
Summary: Library to support the Advanced Forensic Format
Name: afflib
Version: 3.7.18
Summary: Library to support the Advanced Forensic Format
Name: afflib
Version: 3.7.18
License: BSD with advertising
Group: Libraries
Source0: https://github.com/sshock/AFFLIBv3/archive/v%{version}.tar.gz
License: BSD with advertising
Group: Libraries
Source0: https://github.com/sshock/AFFLIBv3/archive/v%{version}.tar.gz
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: openssl-devel
Requires: pkgconfig
Requires: openssl-devel
Requires: pkgconfig
rm -rf $RPM_BUILD_ROOT%{py_sitedir}/*.egg-info/
%endif
rm -rf $RPM_BUILD_ROOT%{py_sitedir}/*.egg-info/
%endif
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
%clean
rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS BUGLIST.txt ChangeLog NEWS README doc/announce_2.2.txt COPYING
%files
%defattr(644,root,root,755)
%doc AUTHORS BUGLIST.txt ChangeLog NEWS README doc/announce_2.2.txt COPYING
-%attr(755,root,root) %{_libdir}/libafflib.so.*
+%attr(755,root,root) %{_libdir}/libafflib.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libafflib.so.0
%files -n afftools
%defattr(644,root,root,755)
%files -n afftools
%defattr(644,root,root,755)
%defattr(644,root,root,755)
%doc doc/crypto_design.txt doc/crypto_doc.txt
%attr(755,root,root) %{_libdir}/libafflib.so
%defattr(644,root,root,755)
%doc doc/crypto_design.txt doc/crypto_doc.txt
%attr(755,root,root) %{_libdir}/libafflib.so
%{_includedir}/afflib/
%{_pkgconfigdir}/afflib.pc
%{_includedir}/afflib/
%{_pkgconfigdir}/afflib.pc