SHA256
1
0
forked from pool/help2man

Accepting request 72691 from Base:System

Update to version 1.40.1 (forwarded request 72685 from adra)

OBS-URL: https://build.opensuse.org/request/show/72691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/help2man?expand=0&rev=14
This commit is contained in:
Sascha Peilicke 2011-06-08 14:15:53 +00:00 committed by Git OBS Bridge
commit c909073afe
4 changed files with 57 additions and 41 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc8ee87dfe681480caccf8b2141f75a25b85b461fb6731ef9c5e0a561a0d0848
size 107066

3
help2man-1.40.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3fab0de9443ccab65d4985d24d98aeb8d3e52a17b4bb6dfcff519c8c0fbf3f58
size 125458

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Jun 4 18:32:27 UTC 2011 - asterios.dramis@gmail.com
- Update to version 1.40.1:
* Update texinfo docs.
* Document --libtool option.
* Allow date format to be localised.
* Add Japanese translation.
* Update Italian translation.
-------------------------------------------------------------------
Tue May 3 18:55:02 UTC 2011 - asterios.dramis@gmail.com
- Update to version 1.39.3:
* Add --libtool option to remove `lt-' prefix for libtool programs.
* Add Italian, Greek, Ukranian, Esperanto translations.
* Update French, German, Russian, Polish, Finnish translations.
* Fix Brazilian, Russian and Italian translations.
- Spec file updates:
* Changes based on rpmdevtools templates and spec-cleaner run.
* Changed License: to GPLv3+.
* bindtextdomain.so is now installed correctly.
* Minor other updates.
-------------------------------------------------------------------
Mon Nov 8 11:19:08 UTC 2010 - davejplater@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package help2man (Version 1.38.2)
# spec file for package help2man
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,18 +19,21 @@
Name: help2man
Version: 1.40.1
Release: 1
Summary: Create Simple Man Pages from --help Output
License: GPLv3+
Url: http://www.gnu.org/software/help2man/
Group: Development/Tools/Doc Generators
# http://ftp.gnu.org/gnu/help2man/help2man-1.40.1.tar.gz
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl-gettext
Requires: perl-gettext
Url: http://www.gnu.org/software/help2man/
Summary: Create Simple Man Pages from --help Output
Version: 1.38.2
Release: 1
Group: Development/Tools/Doc Generators
License: GPLv2+
PreReq: %{install_info_prereq}
Source: help2man-%{version}.tar.bz2
#Patch: help2man-%%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): info
Requires(preun): info
%description
help2man is a script to create simple man pages from the --help and
@ -40,47 +43,36 @@ Since most GNU documentation is now in info format, this provides a way
to generate a placeholder man page pointing to that resource while
still providing some useful information.
Authors:
--------
Brendan O'Dea <bod@debian.org>
%prep
%setup -q
#%%patch
%build
# Removed %%configure because I had to specify --libdir=%%{_libdir}/%%{name} to accomodate the shared lib bindtextdomain.so
export CFLAGS="%{optflags} -ggdb"
export CXXFLAGS="%{optflags} -ggdb"
./configure --prefix=%{_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} \
--includedir=%{_includedir} --libdir=%{_libdir}/%{name} --mandir=%{_mandir} --infodir=%{_infodir}
%configure
%{__make} %{?_smp_mflags}
%install
%makeinstall
%find_lang %name --with-man
%make_install
%find_lang %{name} --with-man
%clean
rm -fr $RPM_BUILD_ROOT
rm -rf %{buildroot}
%post
%install_info --info-dir=%{_infodir} %{_infodir}/help2man.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/help2man.info%{ext_info}
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/help2man.info.gz
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/help2man.info%{ext_info}
%files -f %name.lang
%defattr(-, root, root)
%doc README NEWS THANKS
%{_bindir}/%{name}
%{_libdir}/%{name}/bindtextdomain.so
%dir %{_libdir}/%{name}
%{_infodir}/*.gz
%{_mandir}/man1/*.gz
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING NEWS README THANKS
%{_bindir}/help2man
%{_libdir}/help2man/
%doc %{_infodir}/help2man.info%{ext_info}
%doc %{_mandir}/man1/help2man.1%{ext_man}
%dir %{_mandir}/??
%dir %{_mandir}/??/man1