SHA256
3
0
forked from pool/help2man

Accepting request 69491 from home:adra:branches:Base:System

Update to version 1.39.3, Spec file updates

OBS-URL: https://build.opensuse.org/request/show/69491
OBS-URL: https://build.opensuse.org/package/show/Base:System/help2man?expand=0&rev=10
This commit is contained in:
Dirk Mueller 2011-05-04 22:04:02 +00:00 committed by Git OBS Bridge
parent 425d2b3371
commit 733b695896
4 changed files with 47 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.39.3.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
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.39.3
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.39.3.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: 132
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