throw out useless cruft
This commit is contained in:
parent
6162b0421b
commit
0bfab2ef9a
11
libwpg.spec
11
libwpg.spec
@ -7,7 +7,6 @@ Group: System Environment/Libraries
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://libwpg.sourceforge.net/
|
URL: http://libwpg.sourceforge.net/
|
||||||
Source0: http://download.sourceforge.net/libwpg/%{name}-%{version}.tar.bz2
|
Source0: http://download.sourceforge.net/libwpg/%{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: libwpd-devel
|
BuildRequires: libwpd-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@ -54,7 +53,6 @@ find docs/doxygen/html |xargs touch -r docs/doxygen/doxygen.cfg
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
# Documentation is intentionally not installed here,
|
# Documentation is intentionally not installed here,
|
||||||
# it is included as -devel %%doc
|
# it is included as -devel %%doc
|
||||||
make SUBDIRS="" install DESTDIR=$RPM_BUILD_ROOT
|
make SUBDIRS="" install DESTDIR=$RPM_BUILD_ROOT
|
||||||
@ -62,30 +60,23 @@ make -C src install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS ChangeLog COPYING
|
%doc AUTHORS ChangeLog COPYING
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%doc docs/doxygen/html
|
||||||
%doc COPYING docs/doxygen/html
|
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user