forked from pool/FastCGI
Accepting request 266001 from home:jengelh:branches:devel:libraries:c_c++
- "libfcgi++-0" package name is wrong (should be "libfcgi++0"); change to libfcgi0 (due to libfcgi.so.0 being present, which is the main one). OBS-URL: https://build.opensuse.org/request/show/266001 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/FastCGI?expand=0&rev=38
This commit is contained in:
committed by
Git OBS Bridge
parent
c4e6faab1d
commit
6bb0867dd5
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 20 11:57:22 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- "libfcgi++-0" package name is wrong (should be "libfcgi++0");
|
||||||
|
change to libfcgi0 (due to libfcgi.so.0 being present, which is
|
||||||
|
the main one).
|
||||||
|
- Remove pointless --with-pic (it is enabled by default anyway)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 13 13:33:33 UTC 2014 - p.drouand@gmail.com
|
Sat Dec 13 13:33:33 UTC 2014 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
|||||||
44
FastCGI.spec
44
FastCGI.spec
@@ -16,18 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define so_ver 0
|
|
||||||
|
|
||||||
Name: FastCGI
|
Name: FastCGI
|
||||||
|
%define lname libfcgi0
|
||||||
Version: 2.4.0
|
Version: 2.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
Summary: A Scalable, Open Extension to CGI
|
||||||
#
|
License: OML
|
||||||
BuildRequires: gcc-c++
|
Group: Development/Languages/C and C++
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: perl
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
#
|
|
||||||
Url: http://www.fastcgi.com
|
Url: http://www.fastcgi.com
|
||||||
Source: http://www.fastcgi.com/dist/fcgi.tar.bz2
|
Source: http://www.fastcgi.com/dist/fcgi.tar.bz2
|
||||||
Source1: README.supervise
|
Source1: README.supervise
|
||||||
@@ -38,10 +33,10 @@ Patch3: fastcgi-2.4.0_missing_call_to_fclose.patch
|
|||||||
Patch4: FastCGI-gcc44.patch
|
Patch4: FastCGI-gcc44.patch
|
||||||
Patch5: FastCGI-perl514.patch
|
Patch5: FastCGI-perl514.patch
|
||||||
Patch6: FastCGI-fix_deprecated_api.patch
|
Patch6: FastCGI-fix_deprecated_api.patch
|
||||||
#
|
BuildRequires: gcc-c++
|
||||||
Summary: A Scalable, Open Extension to CGI
|
BuildRequires: libtool
|
||||||
License: OML
|
BuildRequires: perl
|
||||||
Group: Development/Languages/C and C++
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
FastCGI is a language-independent, scalable, open extension to CGI that
|
FastCGI is a language-independent, scalable, open extension to CGI that
|
||||||
@@ -51,19 +46,21 @@ APIs.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: A scalable, open extension to CGI
|
Summary: A scalable, open extension to CGI
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: %lname = %version
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libfcgi++-%{so_ver} = %{version}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
FastCGI is a language independent, scalable, open extension to CGI that
|
FastCGI is a language independent, scalable, open extension to CGI that
|
||||||
provides high performance without the limitations of server specific
|
provides high performance without the limitations of server specific
|
||||||
APIs.
|
APIs.
|
||||||
|
|
||||||
%package -n libfcgi++-%{so_ver}
|
%package -n %lname
|
||||||
Summary: A scalable, open extension to CGI - System library
|
Summary: A scalable, open extension to CGI - System library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Obsoletes: libfcgi++-0 < %version-%release
|
||||||
|
Provides: libfcgi++-0 = %version-%release
|
||||||
|
|
||||||
%description -n libfcgi++-%{so_ver}
|
%description -n %lname
|
||||||
FastCGI is a language independent, scalable, open extension to CGI that
|
FastCGI is a language independent, scalable, open extension to CGI that
|
||||||
provides high performance without the limitations of server specific
|
provides high performance without the limitations of server specific
|
||||||
APIs.
|
APIs.
|
||||||
@@ -97,16 +94,16 @@ find doc/{fastcgi-prog-guide,fastcgi-whitepaper} -type f -print0 | xargs -r0 chm
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
%configure --disable-static --with-pic --includedir=%{_includedir}/fastcgi
|
%configure --disable-static --includedir=%{_includedir}/fastcgi
|
||||||
make all
|
make all
|
||||||
pushd perl
|
pushd perl
|
||||||
%configure --disable-static --with-pic --includedir=%{_includedir}/fastcgi
|
%configure --disable-static --includedir=%{_includedir}/fastcgi
|
||||||
%{__perl} Makefile.PL
|
%{__perl} Makefile.PL
|
||||||
make %{?_smp_mflags} all
|
make %{?_smp_mflags} all
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
pushd perl
|
pushd perl
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
@@ -128,11 +125,8 @@ popd
|
|||||||
%{buildroot}%{_docdir}/%{name}/
|
%{buildroot}%{_docdir}/%{name}/
|
||||||
rm -f %{buildroot}%{_libdir}/libfcgi*.la
|
rm -f %{buildroot}%{_libdir}/libfcgi*.la
|
||||||
|
|
||||||
%post -n libfcgi++-%{so_ver}
|
%post -n %lname -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libfcgi++-%{so_ver}
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@@ -147,7 +141,7 @@ rm -f %{buildroot}%{_libdir}/libfcgi*.la
|
|||||||
%{_libdir}/libfcgi*.so
|
%{_libdir}/libfcgi*.so
|
||||||
%{_mandir}/man3/*.3.gz
|
%{_mandir}/man3/*.3.gz
|
||||||
|
|
||||||
%files -n libfcgi++-%{so_ver}
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libfcgi*.so.*
|
%{_libdir}/libfcgi*.so.*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user