cvsdist ccc8f88
%define LANG	ko
cvsdist 94e25e8
%define UTF8	1
cvsdist ccc8f88
cvsdist ccc8f88
Summary: Korean(Hangul) Man(manual) Pages from the Korean Manpage Project.
cvsdist ccc8f88
Name: man-pages-%{LANG}
cvsdist 8a43fa4
Version: 1.48
9d24003
Release: 15.1
cvsdist ccc8f88
License: GPL
cvsdist 8a43fa4
Epoch: 1
cvsdist 4cb7803
Group: Documentation
cvsdist 94e25e8
#Vendor: Korean Manpage Project Team.
cvsdist ccc8f88
URL: http://man.kldp.org/
cvsdist 68d7394
Requires: gzip
cvsdist ccc8f88
Source0: man-pages-%{LANG}-%{version}.tar.gz
cvsdist 94e25e8
Patch0: man-pages-utf8-fixes.patch
cvsdist 8a43fa4
Buildroot: %{_tmppath}/%{name}-root
cvsdist ccc8f88
Autoreqprov: false
cvsdist 71c57fc
BuildArchitectures: noarch
cvsdist 71c57fc
cvsdist 71c57fc
%description
cvsdist ccc8f88
Korean translation of the official manpages from LDP and
cvsdist ccc8f88
another useful manpages from various packages. It's done
cvsdist ccc8f88
by the Korean Manpage Project <http://man.kldp.org> which
cvsdist ccc8f88
is maintained by Korean Manpage Project Team.
cvsdist 140cbd1
cvsdist 71c57fc
%prep
cvsdist ccc8f88
rm -rf ${RPM_BUILD_ROOT}
cvsdist ccc8f88
cvsdist ccc8f88
%setup -c %{name}-%{version}
cvsdist 94e25e8
find . -name CVS -exec rm -rf {} \;
cvsdist 94e25e8
cvsdist 94e25e8
%if %{UTF8}
cvsdist 94e25e8
%patch0 -p 1
cvsdist 94e25e8
cvsdist 94e25e8
    rm -rf ./man7/iso_8859-1.7 ./man7/iso_8859-7.7
cvsdist 94e25e8
    for i in `find . -type f -name \*.gz`; do
cvsdist 94e25e8
	gunzip $i
cvsdist 94e25e8
        #gunzip $i | iconv -c -f EUC-KR -t UTF-8 | gzip > $i
cvsdist 94e25e8
    done
043c6ea
    for i in 1 1x 2 3 4 5 6 7 8 9; do
cvsdist 94e25e8
        for j in `find . -type f -name \*.$i`; do
cvsdist 94e25e8
            iconv -c -f EUC-KR -t UTF-8 $j -o $j.out
cvsdist 94e25e8
            cp -a $j.out $j
cvsdist 94e25e8
            rm $j.out
cvsdist 94e25e8
        done
cvsdist 94e25e8
    done
cvsdist 94e25e8
cvsdist 94e25e8
%endif
cvsdist 71c57fc
cvsdist 71c57fc
%install
cvsdist ccc8f88
rm -rf $RPM_BUILD_ROOT
cvsdist ccc8f88
cvsdist 8a43fa4
mkdir -p $RPM_BUILD_ROOT%{_mandir}/ko
cvsdist 94e25e8
cp -a man? $RPM_BUILD_ROOT%{_mandir}/ko/
cvsdist ccc8f88
cvsdist 2577d15
rm -f $RPM_BUILD_ROOT%{_mandir}/ko/man1/man.1*
cvsdist 2577d15
rm -f $RPM_BUILD_ROOT%{_mandir}/ko/man5/man.config.5*
cvsdist 2577d15
cvsdist 71c57fc
%clean
cvsdist ccc8f88
rm -rf $RPM_BUILD_ROOT
cvsdist 71c57fc
cvsdist 71c57fc
%files
cvsdist 8a43fa4
%defattr(0644, root, root, 0755)
cvsdist 8a43fa4
%{_mandir}/ko
cvsdist 71c57fc
cvsdist 71c57fc
%changelog
9d24003
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
9d24003
- rebuilt
9d24003
043c6ea
* Tue Nov 23 2004 Miloslav Trmac <mitr@redhat.com> - 1:1.48-15
043c6ea
- Recode also man.1x to UTF-8
043c6ea
cvsdist 68d7394
* Mon Jun 21 2004 Alan Cox <alan@redhat.com>
cvsdist 68d7394
- man isn't required (there are multiple man page readers), as per other
cvsdist 68d7394
  man packages
cvsdist 68d7394
cvsdist 68d7394
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 68d7394
- rebuilt
cvsdist 68d7394
cvsdist 2577d15
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 2577d15
- rebuilt
cvsdist 2577d15
cvsdist 2577d15
* Tue Feb 10 2004 Akira TAGOH <tagoh@redhat.com> 1.48-11
cvsdist 2577d15
- removed man.1 and man.config.5, because the latest man contains those manpages.
cvsdist 2577d15
cvsdist 94e25e8
* Tue Oct 28 2003 Leon Ho <llch@redhat.com>
cvsdist 94e25e8
- convert to utf-8 on build time
cvsdist 94e25e8
- modify logic in install
cvsdist 94e25e8
cvsdist 94e25e8
* Sun May 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 94e25e8
- do not include a Vendor: tag
cvsdist 94e25e8
cvsdist 8a43fa4
* Thu Feb 20 2003 David Joo <djoo@redhat.com>
cvsdist 8a43fa4
- bug #83614 fixed
cvsdist 8a43fa4
cvsdist 8a43fa4
* Mon Jan 27 2003 Jeremy Katz <katzj@redhat.com> 1:1.48-7
cvsdist 8a43fa4
- add an epoch to fix upgrades from 8.0
cvsdist 8a43fa4
cvsdist 8a43fa4
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 8a43fa4
- rebuilt
cvsdist 8a43fa4
cvsdist 8a43fa4
* Fri Jan 10 2003 David Joo <djoo@redhat.com>
cvsdist 8a43fa4
- Spelling mistakes fixed in specfile
cvsdist 8a43fa4
- bug #81420 fixed
cvsdist 8a43fa4
cvsdist 8a43fa4
* Fri Dec 20 2002 David Joo <djoo@redhat.com>
cvsdist 8a43fa4
- Updated to New version
cvsdist 8a43fa4
- sgid bug fixed <#79965>
cvsdist 8a43fa4
cvsdist 8a43fa4
* Tue Nov 19 2002 Tim Powers <timp@redhat.com>
cvsdist 8a43fa4
- rebuild in current collection instance
cvsdist 8a43fa4
cvsdist 4cb7803
* Mon Aug 12 2002 Bill Nottingham <notting@redhat.com>
cvsdist 4cb7803
- fix group
cvsdist 4cb7803
cvsdist ccc8f88
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist ccc8f88
- automated rebuild
cvsdist ccc8f88
cvsdist ccc8f88
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist ccc8f88
- automated rebuild
cvsdist ccc8f88
cvsdist ccc8f88
* Fri Feb  1 2002 Bill Nottingham <notting@redhat.com>
cvsdist ccc8f88
- remove %post/%preun; they cause errors
cvsdist ccc8f88
- s/%%{prefix}/%%{_mandir}/g
cvsdist ccc8f88
cvsdist ccc8f88
* Thu Jan 31 2002 David Joo <davidjoo@redhat.com>
cvsdist ccc8f88
- Rebuilt against RHL 8.0
cvsdist ccc8f88
cvsdist ccc8f88
* Sun Jun 3 2001 Bae, Sunghoon <plodder@kldp.org>
cvsdist ccc8f88
- removed ftpcount, ftpwho, ftpshut, proftpd man pages
cvsdist ccc8f88
  because proftpd has it 
cvsdist ccc8f88
- changed man cache directory to /var/cache/man
cvsdist ccc8f88
cvsdist ccc8f88
* Tue May 23 2000 KIM KyungHeon <tody@teoal.sarang.net>
cvsdist ccc8f88
- changed name of spec file
cvsdist ccc8f88
- added some contents of spec (for relocatable)
cvsdist ccc8f88
- modified korean description
cvsdist ccc8f88
- fixed using 'makewhatis' command
cvsdist ccc8f88
- fixed expression in %files tag
cvsdist ccc8f88
cvsdist ccc8f88
* Sun Apr  23 2000 Bae, Sunghoon <plodder@kldp.org>
cvsdist ccc8f88
- modify .spec
cvsdist ccc8f88
cvsdist ccc8f88
* Sat Apr  22 2000 Chongkyoon, Rim <hermes44@secsm.org>
cvsdist ccc8f88
- modify .spec
cvsdist ccc8f88
cvsdist ccc8f88
* Tue Apr  4 2000 Bae, Sunghoon <plodder@kldp.org>
cvsdist ccc8f88
- First Release
cvsdist 140cbd1