Removing buildroot garbage
This commit is contained in:
parent
9e5e3ec0c1
commit
9b9081ef56
21
libexif.spec
21
libexif.spec
@ -1,13 +1,12 @@
|
|||||||
Summary: Library for extracting extra information from image files
|
Summary: Library for extracting extra information from image files
|
||||||
Name: libexif
|
Name: libexif
|
||||||
Version: 0.6.19
|
Version: 0.6.19
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://libexif.sourceforge.net/
|
URL: http://libexif.sourceforge.net/
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}-docs.tar.gz
|
Source1: %{name}-docs.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: doxygen, pkgconfig
|
BuildRequires: doxygen, pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -27,7 +26,6 @@ for writing programs that use libexif.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
# to avoid multilib conflicts, we toss in pre-generated docs
|
# to avoid multilib conflicts, we toss in pre-generated docs
|
||||||
# and neuter make all in the docs dir
|
# and neuter make all in the docs dir
|
||||||
tar xzf %{SOURCE1}
|
tar xzf %{SOURCE1}
|
||||||
@ -37,22 +35,14 @@ tar xzf %{SOURCE1}
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make DESTDIR=%{buildroot} install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
find %{buildroot} -name "*.la" -exec rm {} \;
|
||||||
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
rm -rf %{buildroot}%{_datadir}/doc/libexif
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libexif
|
|
||||||
cp -R doc/doxygen-output/libexif-api.html .
|
cp -R doc/doxygen-output/libexif-api.html .
|
||||||
|
|
||||||
iconv -f latin1 -t utf-8 < COPYING > COPYING.utf8; cp COPYING.utf8 COPYING
|
iconv -f latin1 -t utf-8 < COPYING > COPYING.utf8; cp COPYING.utf8 COPYING
|
||||||
iconv -f latin1 -t utf-8 < README > README.utf8; cp README.utf8 README
|
iconv -f latin1 -t utf-8 < README > README.utf8; cp README.utf8 README
|
||||||
|
|
||||||
|
|
||||||
%find_lang libexif-12
|
%find_lang libexif-12
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -70,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/pkgconfig/libexif.pc
|
%{_libdir}/pkgconfig/libexif.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 18 2011 Petr Sabata <psabata@redhat.com> - 0.6.19-3
|
||||||
|
- Buildroot cleanup
|
||||||
|
|
||||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.19-2
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.19-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user