source: projects/specs/trunk/h/help2man/help2man-vl.spec @ 12546

Revision 12546, 4.9 KB checked in by tomop, 3 years ago (diff)

updated 28 packages

autoconf-2.71-1

automake-1.16.3-1

bison-3.7.5-1

e2fsprogs-1.46.1-1

findutils-4.8.0-1

galera-26.4.7-1

gawk-5.1.0-1

gdbm-1.19-1

gjs-1.66.2-1

gnome-initial-setup-3.36.4-2

grep-3.6-1

help2man-1.48.1-1

ipvsadm-1.31-1

less-563-1

libidn-1.36-1

make-4.3-1

mariadb-10.5.9-1

mozjs78-78.7.0-1

mpfr-4.1.0-1

nettle-3.7.1-1

parted-3.4-1

pcre2-10.36-1

polkit-0.118-1

strongswan-5.9.1-1

tar-1.34-1

trousers-0.3.15-1

wget-1.21-1

wireshark-3.4.3-1

Line 
1Name:           help2man
2Summary:        Create simple man pages from --help output
3Summary(ja):    --help の出力から簡単なマニュアルページを生成するツール
4Version:        1.48.1
5Release:        1%{?_dist_release}
6Group:          programming
7Vendor:         Project Vine
8Distribution:   Vine Linux
9Packager:       daisuke, yasumichi
10
11License:        GPLv2+
12URL:            https://www.gnu.org/software/help2man/
13Source:         https://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.xz
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
16Requires(post): /sbin/install-info
17Requires(preun):/sbin/install-info
18Requires:       perl-gettext
19BuildRequires:  perl-gettext
20Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
21
22%description
23help2man is a script to create simple man pages from the --help and
24--version output of programs.
25
26Since most GNU documentation is now in info format, this provides a
27way to generate a placeholder man page pointing to that resource while
28still providing some useful information.
29
30%description -l ja
31help2man は、プログラムの --help および --version オプションの出力から
32簡単なマニュアルページを生成するスクリプトです。
33
34ほとんどの GNU 文書は現在 info 形式であるため、有益な情報が info で提供
35されていることを指し示すセクションをマニュアルページに生成する方法も
36提供しています。
37
38
39%debug_package
40
41
42%prep
43%setup -q -n help2man-%{version}
44iconv -f ISO-8859-1 -t utf-8 THANKS > THANKS~
45mv THANKS~ THANKS
46
47
48%build
49%configure
50make %{?_smp_mflags}
51
52# Fix up manpage encoding
53#for f in help2man.*.h2m; do
54#  b=$(basename $f .h2m);
55#  c=$(grep 'charset: ISO-*' $f | sed -e 's,^.*: ,,')
56#  iconv -f $c -t UTF-8 -o $b.1~ $b.1
57#  mv $b.1~ $b.1
58#done
59
60%install
61rm -fr $RPM_BUILD_ROOT
62make install DESTDIR=$RPM_BUILD_ROOT
63make install_l10n DESTDIR=$RPM_BUILD_ROOT
64
65%find_lang %{name}
66
67
68%clean
69rm -fr $RPM_BUILD_ROOT
70
71
72%post
73/sbin/install-info %{_infodir}/help2man.info %{_infodir}/dir 2>/dev/null || :
74
75%preun
76if [ $1 -eq 0 ]; then
77  /sbin/install-info --delete %{_infodir}/help2man.info \
78    %{_infodir}/dir 2>/dev/null || :
79fi
80
81
82%files -f %{name}.lang
83%defattr(-, root, root,-)
84%license COPYING
85%doc README NEWS THANKS
86%{_bindir}/help2man
87%{_infodir}/*
88%{_mandir}/man1/*
89%{_libdir}/help2man
90%lang(da) %{_mandir}/da/man1/*
91%lang(de) %{_mandir}/de/man1/*
92%lang(el) %{_mandir}/el/man1/*
93%lang(eo) %{_mandir}/eo/man1/*
94%lang(es) %{_mandir}/es/man1/*
95%lang(fi) %{_mandir}/fi/man1/*
96%lang(fr) %{_mandir}/fr/man1/*
97%lang(hr) %{_mandir}/hr/man1/*
98%lang(hu) %{_mandir}/hu/man1/*
99%lang(it) %{_mandir}/it/man1/*
100%lang(ja) %{_mandir}/ja/man1/*
101%lang(nb) %{_mandir}/nb/man1/*
102%lang(pl) %{_mandir}/pl/man1/*
103%lang(pt_BR) %{_mandir}/pt_BR/man1/*
104%lang(ru) %{_mandir}/ru/man1/*
105%lang(sr) %{_mandir}/sr/man1/*
106%lang(sv) %{_mandir}/sv/man1/*
107%lang(ta) %{_mandir}/ta/man1/*
108%lang(uk) %{_mandir}/uk/man1/*
109%lang(vi) %{_mandir}/vi/man1/*
110%lang(zh_CN) %{_mandir}/zh_CN/man1/*
111
112
113%changelog
114* Tue Feb 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.48.1-1
115- new upstream release.
116
117* Mon Aug 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.47.10-1
118- new upstream release.
119
120* Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.43.2-2
121- rebuild with VineSeed environment
122
123* Fri Jun 07 2013 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.43.2-1
124- new upstream release.
125
126* Tue May 31 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.40.1-1
127- new upstream release.(include Japanese locale)
128- delete Patch0. (fixed upstream)
129- translate description.
130
131* Fri May 06 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.39.2-3
132- add Patch0. (use gettext for format of strftime.)
133- update translation.
134
135* Tue May 03 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.39.2-3
136- update translation.(Fixed [JM:00259])
137
138* Wed Apr 27 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.39.2-2
139- update translation.(Fixed [VineSeed:23244])
140
141* Wed Apr 27 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.39.2-1
142- new upstream release.
143- add languages(de, el, eo, it, pt_BR, ru, uk, vi)
144- add Japanese translation.
145- stop to change encoding of manpages.
146- enable nls.
147- add Vendor, Distribution and Packager tag.
148
149* Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 1.36.4-2
150- rebuilt with new environment
151
152* Sat Sep 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.36.4-1
153- initial build for Vine Linux
154
155* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.36.4-2
156- Update license tag.
157- Convert THANKS to utf-8.
158
159* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.36.4-1
160- Upstream update.
161- utf-8 encode l10n'd man pages.
162
163* Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.36.3-1
164- Upstream update.
165- Add build option --with nls.
166
167* Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.35.1-2
168- Fix disttag (#176473).
169- Cleanup spec.
170
171* Fri Apr 29 2005 Ralf Corsepius <ralf[AT]links2linux.de> - 1.35.1-1
172- Update to 1.35.1
173- Minor spec fixes.
Note: See TracBrowser for help on using the repository browser.