Accepting request 291114 from home:pluskalm:branches:devel:tools

- Cleanup spec file with spec-cleaner
- Use url for source
- Add gpg signature
- Correct info scriplet dependencies

OBS-URL: https://build.opensuse.org/request/show/291114
OBS-URL: https://build.opensuse.org/package/show/devel:tools/gengetopt?expand=0&rev=18
This commit is contained in:
Marcus Meissner 2015-03-17 15:27:41 +00:00 committed by Git OBS Bridge
parent bf9ccb92e8
commit 14a14fc974
6 changed files with 52 additions and 13 deletions

3
gengetopt-2.22.6.tar.gz Normal file
View File

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

BIN
gengetopt-2.22.6.tar.gz.sig Normal file

Binary file not shown.

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 16 19:15:15 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Use url for source
- Add gpg signature
- Correct info scriplet dependencies
-------------------------------------------------------------------
Thu Nov 8 10:04:46 UTC 2012 - sweet_f_a@gmx.de

31
gengetopt.keyring Normal file
View File

@ -0,0 +1,31 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQGiBDmGk78RBADmtGz2EjQrUdi4ta07QXpofrXmvgafOwpLZ6GpDh6ekb5B9iVN
+sphbv47ckmvaO5KrjGb4GUT2PtQQU8hhk5+oWBX9AJZBF3q/KcvSqc/7nVlg3Vi
VtpRLM9TN5graM10sSyaFNUQ/Y4XPToEzT0I1WXQO/mm6JBoqACtbvhTTwCghhAq
KUYd7MGZdxuJbWybN1+Qhi8EAI3CgAIEfhPqBmXqhnUgKmufE7XLVm1sv9b1GSbN
fuRac22vGMbAZExB/aN2ZtTm+RfNTzdpwl7PfbEH+xUpY0PMdi7//WZh0X3tjdZR
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0f3YuHB7/56q7S4/ob0gIvOy/wjG5k
3dESZvrhBqZqCYDsICD1tQPc0DHhVupPdeybMwETihv200pFxB6zU4wg4oNG1YDk
ORJxfZ7/kab/Vo8vS8tb8ajrrTgHsTUnSkAc6zbFLr2bgHMd+qloM7qVYUTAVvuw
iF2ITgQYEQIABgUCOYaT0QASCRC0qoxonmKerAdlR1BHAAEBIBsAoIMPlrDxGVIM
E8k2/RCa2Kc+o+VcAJ9oEItTwi1pysvXpp1DzbhcGqn7Jw==
=7SMz
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
#
# spec file for package gengetopt
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gengetopt
Version: 2.22.6
Release: 0
@ -22,10 +23,12 @@ Summary: Commandline parser generator
License: GPL-3.0+
Group: Development/Languages/C and C++
Url: http://www.gnu.org/software/gengetopt/
Source: %{name}-%{version}.tar.xz
Source0: ftp://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.gz
Source1: ftp://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring
BuildRequires: gcc-c++
BuildRequires: xz
Requires(pre): info
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -41,7 +44,7 @@ reading/writing the options from/to config files is also supported.
%build
%configure \
--docdir=%{_docdir}/%{name}
make
make --jobs 1
%install
%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
@ -54,15 +57,12 @@ rm -rf %{buildroot}%{_infodir}/dir
rm -f %{buildroot}%{_docdir}/%{name}/INSTALL
%check
make check
%clean
rm -rf %{buildroot}
make check --jobs 1
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files