Summary: Italian man (manual) pages from the Linux Documentation Project
Name: man-pages-it
Version: 0.3.0
Release: 17.1
License: Distributable
Group: Documentation
URL: http://www.pluto.linux.it/ildp/man/
Source: http://ftp.pluto.linux.it/pub/pluto/ildp/man/man-pages-it-%{version}.tar.gz
Patch0: man-pages-it-0.3.0-rofffix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArchitectures: noarch
%description
Manual pages from the Linux Documentation Project, translated into Italian.
%prep
%setup -q
%patch0 -p1
%build
%install
rm -fr $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_mandir}/it
for n in 1 2 3 4 5 6 7 8 9 n; do
mkdir $RPM_BUILD_ROOT%{_mandir}/it/man$n
done
for i in man*/*; do
iconv -f ISO-8859-1 -t UTF-8 < $i > $i.new
mv -f $i.new $i
done
mv LICENZE/* .
LC_ALL=it_IT make prefix=$RPM_BUILD_ROOT/usr \
mandir=$RPM_BUILD_ROOT/%{_mandir}/it install
# remove unpackaged files from the buildroot
rm -rf $RPM_BUILD_ROOT%{_prefix}/X11R6
rm -f $RPM_BUILD_ROOT%{_mandir}/it/man1/newgrp.1*
rm -f $RPM_BUILD_ROOT%{_mandir}/it/man1/{apropos.1,man.1,whatis.1}*
rm -f $RPM_BUILD_ROOT%{_mandir}/it/man1/vim.1*
rm -f $RPM_BUILD_ROOT%{_mandir}/it/man5/man.config.5*
rm -f $RPM_BUILD_ROOT%{_mandir}/it/man8/makewhatis.8*
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CONTRIB INSTALL INSTALL.eng NEW README README.eng README.translator TODO LDP.licenza
%{_mandir}/it/*
%changelog
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-17.1
- rebuild
* Thu Mar 23 2006 Karsten Hopp <karsten@redhat.de> 0.3.0-17
- remove vim.1, provided by the vim-common package
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Thu Apr 07 2005 Peter Vrabec <pvrabec@redhat.com> 0.3.0-16
- newgrp man page removed, will be provided by shadow-utils
* Tue Sep 28 2004 Leon Ho <llch@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Feb 10 2004 Akira TAGOH <tagoh@redhat.com> 0.3.0-13
- removed apropos.1, man.1, whatis.1, man.config.5, and makewhatis.8, because the latest man contains those manpages.
* Tue Feb 11 2003 Phil Knirsch <pknirsch@redhat.com> 0.3.0-12
- Convert all manpages to utf-8.
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 0.3.0-11
- rebuilt
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 0.3.0-10
- remove unpackaged files from the buildroot
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Mar 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.3.0-7
- Add URL
* Wed Apr 4 2001 Trond Eivind Glomsrød <teg@redhat.com>
- Add patch to fix roff errors in multiple man pages
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Tue Jun 20 2000 Jeff Johnson <jbj@redhat.com>
- rebuild to compress man pages.
* Mon Jun 19 2000 Matt Wilson <msw@redhat.com>
- defattr root
* Sun Jun 11 2000 Trond Eivind Glomsrød <teg@redhat.com>
- use %%{_mandir} and %%{_tmppath}
* Mon May 15 2000 Trond Eivind Glomsrød <teg@redhat.com>
- first build