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+
|
||||
URL: http://libwpg.sourceforge.net/
|
||||
Source0: http://download.sourceforge.net/libwpg/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libwpd-devel
|
||||
BuildRequires: doxygen
|
||||
@ -54,7 +53,6 @@ find docs/doxygen/html |xargs touch -r docs/doxygen/doxygen.cfg
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
# Documentation is intentionally not installed here,
|
||||
# it is included as -devel %%doc
|
||||
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 {} ';'
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING docs/doxygen/html
|
||||
%doc docs/doxygen/html
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_bindir}/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user