Accepting request 265073 from home:posophe:branches:devel:libraries:c_c++
Split out library OBS-URL: https://build.opensuse.org/request/show/265073 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/FastCGI?expand=0&rev=34
This commit is contained in:
parent
ff9173f980
commit
5033cb2ff9
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 13 13:33:33 UTC 2014 - p.drouand@gmail.com
|
||||
|
||||
- Split out the system library, following the shared library
|
||||
conventions
|
||||
- Make devel subpackage depends on shared library package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 07:41:20 UTC 2014 - fcrozat@suse.com
|
||||
|
||||
|
27
FastCGI.spec
27
FastCGI.spec
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define so_ver 0
|
||||
|
||||
Name: FastCGI
|
||||
Version: 2.4.0
|
||||
@ -46,12 +47,10 @@ FastCGI is a language-independent, scalable, open extension to CGI that
|
||||
provides high performance without the limitations of server-specific
|
||||
APIs.
|
||||
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: A scalable, open extension to CGI
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
Requires: libfcgi++-%{so_ver} = %{version}
|
||||
Requires: glibc-devel
|
||||
|
||||
%description devel
|
||||
@ -59,7 +58,14 @@ FastCGI is a language independent, scalable, open extension to CGI that
|
||||
provides high performance without the limitations of server specific
|
||||
APIs.
|
||||
|
||||
%package -n libfcgi++-%{so_ver}
|
||||
Summary: A scalable, open extension to CGI - System library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libfcgi++-%{so_ver}
|
||||
FastCGI is a language independent, scalable, open extension to CGI that
|
||||
provides high performance without the limitations of server specific
|
||||
APIs.
|
||||
|
||||
%package -n perl-FastCGI
|
||||
Summary: A scalable, open extension to CGI
|
||||
@ -76,8 +82,6 @@ FastCGI is a language independent, scalable, open extension to CGI that
|
||||
provides high performance without the limitations of server specific
|
||||
APIs.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -n fcgi-%{version}
|
||||
%patch0
|
||||
@ -123,24 +127,29 @@ popd
|
||||
%{buildroot}%{_docdir}/%{name}/
|
||||
rm -f %{buildroot}%{_libdir}/libfcgi*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libfcgi++-%{so_ver}
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libfcgi++-%{so_ver}
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/cgi-fcgi
|
||||
%{_libdir}/libfcgi*.so.*
|
||||
%{_mandir}/man1/*.1.gz
|
||||
%doc %{_docdir}/%{name}
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libfcgi*.so
|
||||
%dir %{_includedir}/fastcgi/
|
||||
%{_includedir}/fastcgi/*
|
||||
%{_libdir}/libfcgi*.so
|
||||
%{_mandir}/man3/*.3.gz
|
||||
|
||||
%files -n libfcgi++-%{so_ver}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libfcgi*.so.*
|
||||
|
||||
%files -n perl-FastCGI
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man3/*.3pm.gz
|
||||
|
Loading…
Reference in New Issue
Block a user