drop obsolete cruft

This commit is contained in:
David Tardon 2012-07-27 17:03:27 +02:00
parent d27b4d10c8
commit ba2c4290da

View File

@ -7,7 +7,6 @@ Group: System Environment/Libraries
License: BSD
URL: http://www.freedesktop.org/wiki/Software/libexttextcat
Source: http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Obsoletes: libtextcat < 3.2.0
Provides: libtextcat = %{version}
@ -20,7 +19,6 @@ intended for language guessing.
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
Obsoletes: libtextcat-devel < 3.2.0
Provides: libtextcat-devel = %{version}
@ -48,7 +46,6 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/*.la
@ -57,10 +54,6 @@ rm -f %{buildroot}/%{_libdir}/*.la
make check
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
@ -68,14 +61,12 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE README*
%{_libdir}/%{name}*.so.*
%{_datadir}/%{name}
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_libdir}/%{name}*.so
%{_libdir}/pkgconfig/%{name}.pc
@ -83,7 +74,6 @@ rm -rf %{buildroot}
%files tools
%defattr(-,root,root,-)
%{_bindir}/createfp