- remove .svn directories from tarball to reduce its size

- update fixes rhbz#337181 and likely others
Thu Oct 18 2007 MATSUURA Takanori <t.matsuu at gmail.com> 10.35.32-0
- update to 10.35.32 from svn tree
- create man pages from userguide HTML files
This commit is contained in:
Jindrich Novy 2007-10-18 10:26:16 +00:00
parent b7b5153e84
commit 7c50a0442c
3 changed files with 32 additions and 10 deletions

View File

@ -26,3 +26,4 @@ netpbm-10.34.l1.tar.bz2
netpbmdoc-10.34.l1.tar.bz2 netpbmdoc-10.34.l1.tar.bz2
netpbm-10.35.l1.tar.bz2 netpbm-10.35.l1.tar.bz2
netpbmdoc-10.35.l1.tar.bz2 netpbmdoc-10.35.l1.tar.bz2
netpbm-10.35.32.tar.bz2

View File

@ -1,12 +1,15 @@
Summary: A library for handling different graphics file formats Summary: A library for handling different graphics file formats
Name: netpbm Name: netpbm
Version: 10.35 Version: 10.35.32
Release: 17%{?dist} Release: 1%{?dist}
License: Assorted licenses, see %{_docdir}/%{name}-%{version}/copyright_summary License: Assorted licenses, see %{_docdir}/%{name}-%{version}/copyright_summary
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://netpbm.sourceforge.net/ URL: http://netpbm.sourceforge.net/
Source0: netpbm-%{version}.l1.tar.bz2 # Source0 is prepared by
Source1: netpbmdoc-%{version}.l1.tar.bz2 # svn checkout https://netpbm.svn.sourceforge.net/svnroot/netpbm/stable netpbm-%{nersion}
# svn checkout https://netpbm.svn.sourceforge.net/svnroot/netpbm/userguide netpbm-%{nersion}/userguide
# and removing the .svn directories
Source0: netpbm-%{version}.tar.bz2
Patch1: netpbm-10.17-time.patch Patch1: netpbm-10.17-time.patch
Patch2: netpbm-9.24-strip.patch Patch2: netpbm-9.24-strip.patch
Patch3: netpbm-10.19-message.patch Patch3: netpbm-10.19-message.patch
@ -26,7 +29,7 @@ Patch17: netpbm-10.35-pbmtomacp.patch
Patch18: netpbm-10.35-glibc.patch Patch18: netpbm-10.35-glibc.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex
BuildRequires: libX11-devel xorg-x11-server-utils BuildRequires: libX11-devel xorg-x11-server-utils python
%description %description
The netpbm package contains a library of functions which support The netpbm package contains a library of functions which support
@ -125,6 +128,17 @@ make \
X11LIB=%{_libdir}/libX11.so \ X11LIB=%{_libdir}/libX11.so \
XML2LIBS="NONE" XML2LIBS="NONE"
# prepare man files
cd userguide
for i in *.html ; do
../buildtools/makeman ${i}
done
for i in 1 3 5 ; do
mkdir -p man/man${i}
mv *.${i} man/man${i}
done
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -140,8 +154,8 @@ fi
cp -af lib/libnetpbm.a $RPM_BUILD_ROOT%{_libdir}/libnetpbm.a cp -af lib/libnetpbm.a $RPM_BUILD_ROOT%{_libdir}/libnetpbm.a
ln -sf libnetpbm.so.10 $RPM_BUILD_ROOT%{_libdir}/libnetpbm.so ln -sf libnetpbm.so.10 $RPM_BUILD_ROOT%{_libdir}/libnetpbm.so
mkdir -p $RPM_BUILD_ROOT%{_mandir} mkdir -p $RPM_BUILD_ROOT%{_datadir}
tar jxvf %{SOURCE1} -C $RPM_BUILD_ROOT%{_mandir} mv userguide/man $RPM_BUILD_ROOT%{_mandir}
# Get rid of the useless non-ascii character in pgmminkowski.1 # Get rid of the useless non-ascii character in pgmminkowski.1
sed -i 's/\xa0//' $RPM_BUILD_ROOT%{_mandir}/man1/pgmminkowski.1 sed -i 's/\xa0//' $RPM_BUILD_ROOT%{_mandir}/man1/pgmminkowski.1
@ -177,7 +191,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc doc/copyright_summary doc/COPYRIGHT.PATENT doc/GPL_LICENSE.txt doc/HISTORY README %doc doc/copyright_summary doc/COPYRIGHT.PATENT doc/GPL_LICENSE.txt doc/HISTORY README userguide
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%files devel %files devel
@ -193,6 +207,14 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/netpbm/ %{_datadir}/netpbm/
%changelog %changelog
* Thu Oct 18 2007 Jindrich Novy <jnovy@redhat.com> 10.35.32-1
- remove .svn directories from tarball to reduce its size
- update fixes rhbz#337181 and likely others
* Thu Oct 18 2007 MATSUURA Takanori <t.matsuu at gmail.com> 10.35.32-0
- update to 10.35.32 from svn tree
- create man pages from userguide HTML files
* Thu Oct 11 2007 Jindrich Novy <jnovy@redhat.com> 10.35-17 * Thu Oct 11 2007 Jindrich Novy <jnovy@redhat.com> 10.35-17
- add xorg-x11-server-utils BR (#313301) - add xorg-x11-server-utils BR (#313301)

View File

@ -1,2 +1 @@
90a5855e3f08bce4c239ffd205df2a37 netpbm-10.35.l1.tar.bz2 d816dd084194f2e7ccf7ab97ee89b155 netpbm-10.35.32.tar.bz2
8a76bd4a10ba0dd122e7fee759a2bdab netpbmdoc-10.35.l1.tar.bz2