diff --git a/.cvsignore b/.cvsignore index 75fb886..3a0daf6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ -man-pages-cs-0.17.20080113.tar.bz2 -coreutils-20081218.tar.gz +man-pages-cs-0.18.20090209.tar.lzma diff --git a/man-pages-0.18.20090209-inst.patch b/man-pages-0.18.20090209-inst.patch new file mode 100644 index 0000000..6ff57d9 --- /dev/null +++ b/man-pages-0.18.20090209-inst.patch @@ -0,0 +1,16 @@ +diff -up man-pages-cs-0.18.20090209/Makefile.pom man-pages-cs-0.18.20090209/Makefile +--- man-pages-cs-0.18.20090209/Makefile.pom 2009-02-08 21:41:47.000000000 +0100 ++++ man-pages-cs-0.18.20090209/Makefile 2009-09-15 11:36:03.000000000 +0200 +@@ -6,8 +6,10 @@ all: + install: $(SECTIONS:%=install-section-%) + + install-section-%: +- install -m 755 -d $(DESTDIR)$(MANDIR)/man$* +- find . -name '*.$*' -not -path '*.pc*' -print0 | xargs -r -0 install -m 644 -t $(DESTDIR)$(MANDIR)/man$* ++ install -m 755 -d $(DESTDIR)$(MANDIR)/man$* ++ for i in `find . -name '*.$*' -not -path '*.pc*' `; do \ ++ install -m 644 -t $(DESTDIR)$(MANDIR)/man$* $$i; \ ++ done + + check: + # Check man pages syntax diff --git a/man-pages-cs.spec b/man-pages-cs.spec index 2ac83ac..69effcf 100644 --- a/man-pages-cs.spec +++ b/man-pages-cs.spec @@ -1,14 +1,13 @@ %define coreutils_version 20081218 Summary: Czech man pages from the Linux Documentation Project Name: man-pages-cs -Version: 0.17.20080113 -Release: 8%{?dist} +Version: 0.18.20090209 +Release: 1%{?dist} License: GFDL and GPL+ Group: Documentation URL: http://sweb.cz/tropikhajma/man-pages-cs/index.html -Source: ftp://ftp.linux.cz/pub/linux/localization/czman/man-pages-cs-%{version}.tar.bz2 -Source1: coreutils-%{coreutils_version}.tar.gz -Patch1: man-pages-cs-0.17-noMANDIR.patch +Source: http://tropikhajma.sweb.cz/%{name}/%{name}-%{version}.tar.lzma +Patch1: man-pages-0.18.20090209-inst.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -17,19 +16,16 @@ Manual pages from the Linux Documentation Project, translated into Czech. %prep -%setup -q -a 1 -%patch1 -p1 +%setup -q +%patch1 -p1 -b .inst %build %install rm -fr $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_mandir} -LC_ALL=cs_CZ.UTF-8 make all MANDIR=$RPM_BUILD_ROOT/%{_mandir}/cs -for i in `ls man1`; do - gzip man1/$i -done -cp man1/* $RPM_BUILD_ROOT/%{_mandir}/cs/man1/ +make install DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}/cs + %clean rm -fr $RPM_BUILD_ROOT @@ -40,6 +36,9 @@ rm -fr $RPM_BUILD_ROOT %{_mandir}/cs/* %changelog +* Tue Sep 15 2009 Ivana Varekova - 0.18.20090209-1 +- update to 0.18.20090209 + * Sat Jul 25 2009 Fedora Release Engineering - 0.17.20080113-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 1011a3c..f9ebd4b 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -a3df67d98ab63a0a360cd0794ec87e0e man-pages-cs-0.17.20080113.tar.bz2 -8b1a0c43b6ef9d8c4e0cb6c0cbb3decf coreutils-20081218.tar.gz +ce0f9e3a6fe2de5c260d0034bd6ea74a man-pages-cs-0.18.20090209.tar.lzma