2024-01-06 03:59:34 +01:00
|
|
|
Name: libcgi
|
2024-01-06 03:59:34 +01:00
|
|
|
Version: 1.3.0
|
|
|
|
Release: 1mamba
|
2024-01-06 03:59:34 +01:00
|
|
|
Summary: A CGI (Common Gateway Interface) programming interface
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 03:59:34 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://libcgi.sourceforge.net/
|
|
|
|
Source: https://github.com/rafaelsteil/libcgi.git/v%{version}/libcgi-%{version}.tar.bz2
|
2024-01-06 03:59:34 +01:00
|
|
|
Patch0: libcgi-1.0-Makefile.in.patch
|
|
|
|
Patch1: libcgi-1.0-cgi.c-hextable.patch
|
|
|
|
Patch2: libcgi-1.0-string.c-make_string.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
This library offers a simple programming interface to the Common Gateway Interface, known as CGI, including Cookies.
|
|
|
|
The purpose is to provide an easy to use interface to CGI if you need to write your program in C instead of perl.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
2024-01-06 03:59:34 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2024-01-06 03:59:34 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This library offers a simple programming interface to the Common Gateway Interface, known as CGI, including Cookies.
|
|
|
|
The purpose is to provide an easy to use interface to CGI if you need to write your program in C instead of perl.
|
2024-01-06 03:59:34 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 03:59:34 +01:00
|
|
|
|
2024-01-06 03:59:34 +01:00
|
|
|
%debug_package
|
2024-01-06 03:59:34 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 03:59:34 +01:00
|
|
|
%setup -q
|
|
|
|
#% patch 0 -p1
|
|
|
|
#% patch 1 -p1
|
|
|
|
#% patch 2 -p1
|
|
|
|
#find examples/ -name "Makefile.am" -exec rm {} ';'
|
2024-01-06 03:59:34 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 03:59:34 +01:00
|
|
|
%cmake
|
2024-01-06 03:59:34 +01:00
|
|
|
|
2024-01-06 03:59:34 +01:00
|
|
|
%cmake_build
|
2024-01-06 03:59:34 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
2024-01-06 03:59:34 +01:00
|
|
|
%cmake_install
|
2024-01-06 03:59:34 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2024-01-06 03:59:34 +01:00
|
|
|
%{_libdir}/libcgi.so.*
|
|
|
|
%doc LICENSES
|
2024-01-06 03:59:34 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2024-01-06 03:59:34 +01:00
|
|
|
%dir %{_includedir}/libcgi
|
|
|
|
%{_includedir}/libcgi/*.h
|
|
|
|
%{_libdir}/libcgi.so
|
|
|
|
%dir %{_libdir}/cmake/cgi
|
|
|
|
%{_libdir}/cmake/cgi/cgi-*.cmake
|
|
|
|
%{_libdir}/pkgconfig/libcgi.pc
|
2024-01-06 03:59:34 +01:00
|
|
|
%doc doc/html/ examples/
|
2024-01-06 03:59:34 +01:00
|
|
|
%doc README.md
|
2024-01-06 03:59:34 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:59:34 +01:00
|
|
|
* Sat Nov 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- update to 1.3.0
|
|
|
|
|
2024-01-06 03:59:34 +01:00
|
|
|
* Wed Aug 28 2013 Automatic Build System <autodist@mambasoft.it> 1.0-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sun Oct 26 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.0-1mamba
|
|
|
|
- update to 1.0
|
|
|
|
- packager changed
|
|
|
|
|
|
|
|
* Tue May 17 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.5-1qilnx
|
|
|
|
- package created by autospec
|