package created using the webbuild interface [release 2.23-1mamba;Sat Feb 10 2024]
This commit is contained in:
parent
b8e0eac3f6
commit
07d24e06c0
@ -1,2 +1,4 @@
|
|||||||
# gengetopt
|
# gengetopt
|
||||||
|
|
||||||
|
A tool to write command line option parsing code for C programs.
|
||||||
|
|
||||||
|
63
gengetopt.spec
Normal file
63
gengetopt.spec
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
Name: gengetopt
|
||||||
|
Version: 2.23
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A tool to write command line option parsing code for C programs
|
||||||
|
Group: Development/Tools
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://www.gnu.org/software/gengetopt/gengetopt.html
|
||||||
|
Source: https://ftp.gnu.org/gnu/gengetopt/gengetopt-%{version}.tar.xz
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires(post): %{__install_info}
|
||||||
|
Requires(preun): %{__install_info}
|
||||||
|
|
||||||
|
%description
|
||||||
|
A tool to write command line option parsing code for C programs.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post
|
||||||
|
%install_info %{name}.info
|
||||||
|
:
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%uninstall_info %{name}.info
|
||||||
|
:
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/gengetopt
|
||||||
|
%dir %{_datadir}/gengetopt
|
||||||
|
%{_datadir}/gengetopt/*
|
||||||
|
%{_infodir}/gengetopt.info*
|
||||||
|
%{_infodir}/index.info*
|
||||||
|
%{_mandir}/man1/gengetopt.1*
|
||||||
|
%dir %{_docdir}/gengetopt
|
||||||
|
%{_docdir}/gengetopt/*
|
||||||
|
%doc AUTHORS COPYING LICENSE THANKS
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Feb 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.23-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user