update to 1.3.0 [release 1.3.0-1mamba;Sat Nov 11 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 03:59:34 +01:00
parent b3762cdd6e
commit cab384be99

View File

@ -1,13 +1,13 @@
Name: libcgi Name: libcgi
Version: 1.0 Version: 1.3.0
Release: 2mamba Release: 1mamba
Summary: A CGI (Common Gateway Interface) programming interface Summary: A CGI (Common Gateway Interface) programming interface
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libcgi.sourceforge.net/ URL: https://libcgi.sourceforge.net/
Source: http://downloads.sourceforge.net/sourceforge/libcgi/libcgi-%{version}.tar.gz Source: https://github.com/rafaelsteil/libcgi.git/v%{version}/libcgi-%{version}.tar.bz2
Patch0: libcgi-1.0-Makefile.in.patch Patch0: libcgi-1.0-Makefile.in.patch
Patch1: libcgi-1.0-cgi.c-hextable.patch Patch1: libcgi-1.0-cgi.c-hextable.patch
Patch2: libcgi-1.0-string.c-make_string.patch Patch2: libcgi-1.0-string.c-make_string.patch
@ -15,7 +15,6 @@ License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
This library offers a simple programming interface to the Common Gateway Interface, known as CGI, including Cookies. This library offers a simple programming interface to the Common Gateway Interface, known as CGI, including Cookies.
@ -24,36 +23,31 @@ The purpose is to provide an easy to use interface to CGI if you need to write y
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Static libraries and headers for %{name} Summary: Static libraries and headers for %{name}
Requires: %{name} = %{version} Requires: %{name} = %{version}-%{release}
%description devel %description devel
This library offers a simple programming interface to the Common Gateway Interface, known as CGI, including Cookies. 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. The purpose is to provide an easy to use interface to CGI if you need to write your program in C instead of perl.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %debug_package
%prep %prep
%setup -q -n libcgi-%{version} %setup -q
%patch0 -p1 #% patch 0 -p1
%patch1 -p1 #% patch 1 -p1
%patch2 -p1 #% patch 2 -p1
find examples/ -name "Makefile.am" -exec rm {} ';' #find examples/ -name "Makefile.am" -exec rm {} ';'
%build %build
%configure \ %cmake
--disable-static
%make \ %cmake_build
LIBDIR=%{_libdir} \
SOMAJOR=1 SOMINOR=0
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall DESTDIR=%{buildroot} \
LIBDIR=%{_libdir} \
SOMAJOR=1 SOMINOR=0
make DESTDIR=%{buildroot} install_man %cmake_install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -63,20 +57,24 @@ make DESTDIR=%{buildroot} install_man
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/*.so.* %{_libdir}/libcgi.so.*
%doc AUTHORS %doc LICENSES
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/*.so %dir %{_includedir}/libcgi
%{_includedir}/cgi.h %{_includedir}/libcgi/*.h
%{_includedir}/session.h %{_libdir}/libcgi.so
%{_libdir}/libcgi.a %dir %{_libdir}/cmake/cgi
%{_mandir}/man3/*.3* %{_libdir}/cmake/cgi/cgi-*.cmake
%{_libdir}/pkgconfig/libcgi.pc
%doc doc/html/ examples/ %doc doc/html/ examples/
%doc BUGS ChangeLog README THANKS TODO %doc README.md
%changelog %changelog
* Sat Nov 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- update to 1.3.0
* Wed Aug 28 2013 Automatic Build System <autodist@mambasoft.it> 1.0-2mamba * Wed Aug 28 2013 Automatic Build System <autodist@mambasoft.it> 1.0-2mamba
- automatic rebuild by autodist - automatic rebuild by autodist