Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann:reproducible:distribution:ring0rb
popt
popt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File popt.spec of Package popt
# # spec file for package popt # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define soname libpopt0 Name: popt Version: 1.19 Release: 0 Summary: A C library for parsing command line parameters License: MIT Group: Development/Libraries/C and C++ URL: https://github.com/rpm-software-management/popt Source0: http://ftp.rpm.org/popt/releases/popt-1.x/popt-%{version}.tar.gz Source2: baselibs.conf Patch0: popt-libc-updates.patch BuildRequires: libtool BuildRequires: pkgconfig #!BuildIgnore: rpmlint-Factory %description Popt is a C library for parsing command line parameters. Popt was heavily influenced by the getopt() and getopt_long() functions. It improves on them by allowing more powerful argument expansion. Popt can parse arbitrary argv[] style arrays and automatically set variables based on command line arguments. Popt allows command line arguments to be aliased via configuration files and includes utility functions for parsing arbitrary strings into argv[] arrays using shell-like rules. %package -n %{soname} Summary: A C library for parsing command line parameters Group: System/Libraries Provides: popt = %{version} Obsoletes: popt < %{version} %description -n %{soname} Popt is a C library for parsing command line parameters. Popt was heavily influenced by the getopt() and getopt_long() functions. It improves on them by allowing more powerful argument expansion. Popt can parse arbitrary argv[] style arrays and automatically set variables based on command line arguments. Popt allows command line arguments to be aliased via configuration files and includes utility functions for parsing arbitrary strings into argv[] arrays using shell-like rules. %package devel Summary: Development files for the popt library Group: Development/Libraries/C and C++ Requires: %{soname} = %{version} Requires: glibc-devel %description devel The popt-devel package includes header files and libraries necessary for developing programs which use the popt C library. It contains the API documentation of the popt library, too. %lang_package %prep %autosetup -p1 %build autoreconf -fiv %configure \ --disable-static \ --enable-werror \ %{nil} %make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %check %make_build check %post -n %{soname} -p /sbin/ldconfig %postun -n %{soname} -p /sbin/ldconfig %files -n %{soname} %license COPYING %{_libdir}/libpopt.so.* %files lang -f %{name}.lang %license COPYING %files devel %license COPYING %doc README %{_libdir}/libpopt.so %{_includedir}/popt.h %{_mandir}/man3/popt.3%{?ext_man} %{_libdir}/pkgconfig/popt.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor