osc copypac from project:openSUSE:Factory:Contrib package:gengetopt revision:5
OBS-URL: https://build.opensuse.org/package/show/devel:tools/gengetopt?expand=0&rev=1
This commit is contained in:
commit
6d9cd63ca0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
gengetopt-2.22.4.tar.bz2
Normal file
3
gengetopt-2.22.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:78ac752e23f488c99851845a987f608aa6725f36a253656401dd47248a08eb44
|
||||
size 714369
|
41
gengetopt.changes
Normal file
41
gengetopt.changes
Normal file
@ -0,0 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 11 11:18:49 UTC 2011 - puzel@novell.com
|
||||
|
||||
- use spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 30 08:02:14 UTC 2009 - puzel@novell.com
|
||||
|
||||
- update to gengetopt-2.22.4
|
||||
* removed other gcc compilation warnings on generated files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 16 14:44:19 UTC 2009 - puzel@novell.com
|
||||
|
||||
- update to gengetopt-2.22.3
|
||||
* enum option values can contain + and - (thanks to Papp Gyozo).
|
||||
* fixed compilation problems due to macro FIX_UNUSED which was not
|
||||
in the right place (thanks to Matthew Junker)
|
||||
* --header-output-dir and --src_output-dir to store cmdline.h
|
||||
separately from cmdline.c (thanks to Yegor Yefremov)
|
||||
* #include <getopt.h> in the generated files, instead of "getopt.h"
|
||||
* generated functions use prototypes with char ** instead of
|
||||
char *const *
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 14 16:17:01 CEST 2009 - puzel@novell.com
|
||||
|
||||
- update to gengetopt-2.22.2
|
||||
* removed further compilation warnings for generated files
|
||||
* fixed a compilation problems for files generated with --include-getopt
|
||||
with some versions of stdlib.h
|
||||
* removed dependency from flex library (that generated problems in
|
||||
compilation in open solaris)
|
||||
* uses PACKAGE_NAME, if defined, for printing help and version
|
||||
* uses --docdir if specified for installing documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 30 14:39:21 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- initial package (version 2.22.1)
|
||||
|
74
gengetopt.spec
Normal file
74
gengetopt.spec
Normal file
@ -0,0 +1,74 @@
|
||||
#
|
||||
# spec file for package gengetopt (Version 2.22.4)
|
||||
#
|
||||
# Copyright (c) 2009 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: gengetopt
|
||||
Version: 2.22.4
|
||||
Release: 1
|
||||
License: GPL3
|
||||
Summary: Commandline parser generator
|
||||
Url: http://www.gnu.org/software/gengetopt/
|
||||
Group: Development/Languages/C and C++
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRequires: gcc-c++
|
||||
PreReq: %install_info_prereq
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This program generates a C function that uses getopt_long function to parse the
|
||||
command line options, to validate them and fills a struct.
|
||||
|
||||
Thus your program can now handle options such as:
|
||||
myprog --input foo.c -o foo.o --no-tabs -i 100 *.class
|
||||
|
||||
Both long options (those that start with --) and short options (start with -
|
||||
and consist of only one character) can be handled.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure \
|
||||
--docdir=%{_docdir}/%{name}
|
||||
make
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -rf %{buildroot}%{_datadir}/%{name}
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%postun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/%{name}
|
||||
%doc %{_infodir}/*.info*
|
||||
%doc %{_mandir}/man1/%{name}*
|
||||
%doc %{_docdir}/%{name}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user