From aad5e1d2661bd9e55313d9f9548a3ec9c8793d2d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:14:10 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.4.2-1mamba;Sat Aug 12 2023] --- README.md | 2 ++ fcgi.spec | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 fcgi.spec diff --git a/README.md b/README.md index 0ebe4d0..1d0a4b0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # fcgi +FASTCgi (fcgi) is a language independent, high performant extension to CGI. + diff --git a/fcgi.spec b/fcgi.spec new file mode 100644 index 0000000..60cbc6a --- /dev/null +++ b/fcgi.spec @@ -0,0 +1,94 @@ +Name: fcgi +Version: 2.4.2 +Release: 1mamba +Summary: FASTCgi (fcgi) is a language independent, high performant extension to CGI +Group: System/Servers +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/FastCGI-Archives/fcgi2 +Source: https://github.com/FastCGI-Archives/fcgi2.git/%{version}/fcgi2-%{version}.tar.bz2 +License: Custom +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libe2fs-devel +BuildRequires: libgcc +BuildRequires: libkrb5-devel +BuildRequires: libnsl-devel +BuildRequires: libstdc++6-devel +BuildRequires: libtirpc-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +FASTCgi (fcgi) is a language independent, high performant extension to CGI. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q -n fcgi2-%{version} +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/cgi-fcgi + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libfcgi++.so.* +%{_libdir}/libfcgi.so.* +%doc LICENSE.TERMS + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/fastcgi.h +%{_includedir}/fcgi_config.h +%{_includedir}/fcgi_stdio.h +%{_includedir}/fcgiapp.h +%{_includedir}/fcgimisc.h +%{_includedir}/fcgio.h +%{_includedir}/fcgios.h +%{_libdir}/libfcgi++.a +%{_libdir}/libfcgi++.so +%{_libdir}/libfcgi.a +%{_libdir}/libfcgi.so +%{_libdir}/pkgconfig/fcgi++.pc +%{_libdir}/pkgconfig/fcgi.pc +%doc README.md + + +%changelog +* Sat Aug 12 2023 Silvan Calarco 2.4.2-1mamba +- package created using the webbuild interface