rpms/help2man/devel .cvsignore, 1.3, 1.4 help2man.spec, 1.8, 1.9 sources, 1.3, 1.4

Ralf Corsépius (corsepiu) fedora-extras-commits at redhat.com
Fri Dec 23 09:22:01 UTC 2005


Author: corsepiu

Update of /cvs/extras/rpms/help2man/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15408

Modified Files:
	.cvsignore help2man.spec sources 
Log Message:
* Fri Dec 23 2005 Ralf Corsépius <rc04203 at freenet.de> - 1.36.3-1
- Upstream update.
- Add build option --with nls.




Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/help2man/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	29 Apr 2005 17:23:36 -0000	1.3
+++ .cvsignore	23 Dec 2005 09:22:01 -0000	1.4
@@ -1 +1 @@
-help2man-1.35.1.tar.gz
+help2man-1.36.3.tar.gz


Index: help2man.spec
===================================================================
RCS file: /cvs/extras/rpms/help2man/devel/help2man.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- help2man.spec	23 Dec 2005 07:12:12 -0000	1.8
+++ help2man.spec	23 Dec 2005 09:22:01 -0000	1.9
@@ -1,13 +1,20 @@
+# Supported build option:
+#
+# --with nls ... build this package with --enable-nls 
+
 Name:         	help2man
 Summary:      	Create simple man pages from --help output
-Version:      	1.35.1
-Release:      	2%{?dist}
+Version:      	1.36.3
+Release:      	1%{?dist}
 Group:       	Development/Tools
 License:     	GPL
 URL:		http://www.gnu.org/software/help2man
 Source:       	ftp://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:    	noarch
+
+%{!?_with_nls:BuildArch: noarch}
+%{?_with_nls:BuildRequires: perl(Locale::gettext)}
+%{?_with_nls:Requires: perl(Locale::gettext)}
 
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -24,9 +31,9 @@
 %setup -n help2man-%{version}
 
 %build
-# --enable-nls would require perl(Locale::gettext)
-  %configure --disable-nls
-make
+
+%configure %{!?_with_nls:--disable-nls}
+make %{?_smp_mflags}
 
 %install
 rm -fr $RPM_BUILD_ROOT
@@ -45,13 +52,27 @@
 fi
 
 %files
-%defattr(-, root, root)
+%defattr(-, root, root,-)
 %doc README NEWS THANKS
 %{_bindir}/help2man
 %{_infodir}/*
 %{_mandir}/man1/*
 
+%if "%{?_with_nls}"
+%{_libdir}/*.so
+%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/help2man.mo
+%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/help2man.mo
+%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/help2man.mo
+%lang(pl) %{_mandir}/pl/man1/*
+%lang(fi) %{_mandir}/fi/man1/*
+%lang(fr) %{_mandir}/fr/man1/*
+%endif
+
 %changelog
+* Fri Dec 23 2005 Ralf Corsépius <rc04203 at freenet.de> - 1.36.3-1
+- Upstream update.
+- Add build option --with nls.
+
 * Fri Dec 23 2005 Ralf Corsépius <rc04203 at freenet.de> - 1.35.1-2
 - Fix disttag (#176473).
 - Cleanup spec.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/help2man/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	29 Apr 2005 17:23:36 -0000	1.3
+++ sources	23 Dec 2005 09:22:01 -0000	1.4
@@ -1 +1 @@
-e3c9e846dd163eb7f1d1661e2d0baa07  help2man-1.35.1.tar.gz
+4b5f1609d22a6a0aacbeb5eaf08ad2b1  help2man-1.36.3.tar.gz




More information about the fedora-extras-commits mailing list