Update to 2.22.6, trivial
This commit is contained in:
parent
d5c06a1e6f
commit
cc54b23b2f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
gengetopt-2.22.3.tar.gz
|
gengetopt-2.22.3.tar.gz
|
||||||
/gengetopt-2.22.5.tar.gz
|
/gengetopt-2.22.5.tar.gz
|
||||||
|
/gengetopt-2.22.6.tar.gz
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
Summary: Tool to write command line option parsing code for C programs
|
|
||||||
Name: gengetopt
|
Name: gengetopt
|
||||||
Version: 2.22.5
|
Version: 2.22.6
|
||||||
Release: 4%{dist}
|
Release: 1%{dist}
|
||||||
|
Summary: Tool to write command line option parsing code for C programs
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Development/Tools
|
|
||||||
URL: http://www.gnu.org/software/gengetopt/
|
URL: http://www.gnu.org/software/gengetopt/
|
||||||
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Requires(post): info
|
|
||||||
Requires(preun): info
|
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 ppc ppc64 %{arm}
|
%ifarch %{ix86} x86_64 ppc ppc64 %{arm}
|
||||||
BuildRequires: valgrind
|
BuildRequires: valgrind
|
||||||
%endif
|
%endif
|
||||||
|
Requires(post): info
|
||||||
|
Requires(preun): info
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Gengetopt is a tool to generate C code to parse the command line arguments
|
Gengetopt is a tool to generate C code to parse the command line arguments
|
||||||
@ -42,14 +39,12 @@ find . -name '*.h' -exec chmod 644 {} ';'
|
|||||||
find . -name '*.ggo' -exec chmod 644 {} ';'
|
find . -name '*.ggo' -exec chmod 644 {} ';'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --docdir=%{_docdir}/%{name}-%{version}
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
|
make install INSTALL="%{__install} -p" DESTDIR=%{buildroot}
|
||||||
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
||||||
|
|
||||||
mkdir ./examples
|
mkdir ./examples
|
||||||
pushd ./doc
|
pushd ./doc
|
||||||
@ -62,29 +57,26 @@ popd
|
|||||||
make check
|
make check
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README THANKS TODO
|
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README THANKS TODO
|
||||||
%doc doc/index.html
|
%doc doc/index.html doc/%{name}.html
|
||||||
%doc doc/%{name}.html
|
%doc examples/
|
||||||
%doc examples
|
%{_infodir}/%{name}.info*
|
||||||
%doc %{_infodir}/%{name}.info*
|
%{_mandir}/man1/%{name}.1*
|
||||||
%doc %{_mandir}/man1/%{name}.1*
|
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/%{name}/
|
||||||
%dir %{_datadir}/%{name}
|
|
||||||
%{_datadir}/%{name}/getopt.c
|
|
||||||
%{_datadir}/%{name}/getopt1.c
|
|
||||||
%{_datadir}/%{name}/gnugetopt.h
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 20 2014 Christopher Meng <rpm@cicku.me> - 2.22.6-1
|
||||||
|
- Update to 2.22.6
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.5-4
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.5-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
@ -155,10 +147,10 @@ fi
|
|||||||
- Parallel build problems fixed by upstream.
|
- Parallel build problems fixed by upstream.
|
||||||
- README.example added by upstream.
|
- README.example added by upstream.
|
||||||
|
|
||||||
* Mon Jun 12 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.20-1
|
* Tue Jun 12 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.20-1
|
||||||
- Version bump to 2.20.
|
- Version bump to 2.20.
|
||||||
|
|
||||||
* Mon Jun 12 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.19.1-3
|
* Tue Jun 12 2007 Debarshi Ray <rishi@fedoraproject.org> - 2.19.1-3
|
||||||
- Added 'BuildRequires: ...' for check stanza.
|
- Added 'BuildRequires: ...' for check stanza.
|
||||||
- Added a check stanza.
|
- Added a check stanza.
|
||||||
- Removed -devel package.
|
- Removed -devel package.
|
||||||
|
Loading…
Reference in New Issue
Block a user