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