Commit d6498e7335a3e45abe36dc1e622e2362f2e06a78
1 parent
30ee3bbc
Exists in
master
and in
54 other branches
Added mailman repo specs
Showing
3 changed files
with
292 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,156 @@ |
| 1 | +%global _hardened_build 1 | |
| 2 | + | |
| 3 | +Name: fcgi | |
| 4 | +Version: 2.4.0 | |
| 5 | +Release: 22%{?dist} | |
| 6 | +Summary: FastCGI development kit | |
| 7 | + | |
| 8 | +Group: Development/Languages | |
| 9 | +License: OML | |
| 10 | +URL: http://www.fastcgi.com/#TheDevKit | |
| 11 | +Source0: http://fastcgi.com/dist/fcgi-%{version}.tar.gz | |
| 12 | +Source1: fcgi-autogen.sh | |
| 13 | +Patch0: fcgi-2.4.0-autotools.patch | |
| 14 | +# Patch0 created with Source1 after patching Patch1 and Patch2 | |
| 15 | +Patch1: fcgi-2.4.0-configure.in.patch | |
| 16 | +Patch2: fcgi-2.4.0-Makefile.am-CPPFLAGS.patch | |
| 17 | +Patch3: fcgi-2.4.0-gcc44_fixes.patch | |
| 18 | + | |
| 19 | +%description | |
| 20 | +FastCGI is a language independent, scalable, open extension to CGI that | |
| 21 | +provides high performance without the limitations of server specific APIs. | |
| 22 | + | |
| 23 | + | |
| 24 | +%package devel | |
| 25 | +Summary: Development files for %{name} | |
| 26 | +Group: Development/Libraries | |
| 27 | +Requires: %{name} = %{version}-%{release} | |
| 28 | + | |
| 29 | + | |
| 30 | +%description devel | |
| 31 | +The %{name}-devel package contains libraries and header files for | |
| 32 | +developing applications that use %{name}. | |
| 33 | + | |
| 34 | + | |
| 35 | +%prep | |
| 36 | +%setup -q | |
| 37 | +%patch0 -p1 | |
| 38 | +%patch3 -p1 -b .gcc44_fixes | |
| 39 | + | |
| 40 | +# remove DOS End Of Line Encoding | |
| 41 | +sed -i 's/\r//' doc/fastcgi-prog-guide/ch2c.htm | |
| 42 | +# fix file permissions | |
| 43 | +chmod a-x include/fcgios.h libfcgi/os_unix.c | |
| 44 | + | |
| 45 | + | |
| 46 | +%build | |
| 47 | +%configure | |
| 48 | +# does not build with parallel make flags | |
| 49 | +make | |
| 50 | + | |
| 51 | + | |
| 52 | +%install | |
| 53 | +rm -rf $RPM_BUILD_ROOT | |
| 54 | +mkdir $RPM_BUILD_ROOT | |
| 55 | + | |
| 56 | +make install DESTDIR=$RPM_BUILD_ROOT | |
| 57 | +rm $RPM_BUILD_ROOT/%{_libdir}/libfcgi{++,}.{l,}a | |
| 58 | +install -p -m 0644 -D doc/cgi-fcgi.1 $RPM_BUILD_ROOT%{_mandir}/man1/cgi-fcgi.1 | |
| 59 | +for manpage in doc/*.3 | |
| 60 | +do | |
| 61 | +install -p -m 0644 -D $manpage $RPM_BUILD_ROOT%{_mandir}/man3/$(basename $manpage) | |
| 62 | +done | |
| 63 | +rm -f -- doc/*.1 | |
| 64 | +rm -f -- doc/*.3 | |
| 65 | + | |
| 66 | + | |
| 67 | +%post -p /sbin/ldconfig | |
| 68 | +%postun -p /sbin/ldconfig | |
| 69 | + | |
| 70 | + | |
| 71 | +%files | |
| 72 | +%{_bindir}/cgi-fcgi | |
| 73 | +%{_libdir}/libfcgi.so.* | |
| 74 | +%{_libdir}/libfcgi++.so.* | |
| 75 | +%{_mandir}/man1/* | |
| 76 | +%defattr(0644,root,root,0755) | |
| 77 | +%doc LICENSE.TERMS README | |
| 78 | + | |
| 79 | + | |
| 80 | +%files devel | |
| 81 | +%{_includedir}/* | |
| 82 | +%{_libdir}/libfcgi.so | |
| 83 | +%{_libdir}/libfcgi++.so | |
| 84 | +%{_mandir}/man3/* | |
| 85 | +%defattr(0644,root,root,0755) | |
| 86 | +%doc doc/ | |
| 87 | + | |
| 88 | + | |
| 89 | +%changelog | |
| 90 | +* Mon Feb 03 2014 Till Maas <opensource@till.name> - 2.4.0-22 | |
| 91 | +- Harden build | |
| 92 | + | |
| 93 | +* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-21 | |
| 94 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild | |
| 95 | + | |
| 96 | +* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-20 | |
| 97 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild | |
| 98 | + | |
| 99 | +* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-19 | |
| 100 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild | |
| 101 | + | |
| 102 | +* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-18 | |
| 103 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild | |
| 104 | + | |
| 105 | +* Fri Sep 09 2011 Iain Arnell <iarnell@gmail.com> 2.4.0-17 | |
| 106 | +- drop perl sub-package; it's been replaced by perl-FCGI (rhbz#736612) | |
| 107 | + | |
| 108 | +* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.4.0-16 | |
| 109 | +- Perl mass rebuild & clean spec & clean Makefile.PL | |
| 110 | + | |
| 111 | +* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-15 | |
| 112 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild | |
| 113 | + | |
| 114 | +* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.4.0-14 | |
| 115 | +- Mass rebuild with perl-5.12.0 | |
| 116 | + | |
| 117 | +* Sun May 16 2010 Till Maas <opensource@till.name> - 2.4.0-13 | |
| 118 | +- Fix license tag. It's OML instead of BSD | |
| 119 | + | |
| 120 | +* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-12 | |
| 121 | +- drop perl .so provides filtering, as it may have multiarch rpm implications | |
| 122 | + | |
| 123 | +* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.4.0-11 | |
| 124 | +- rebuild against perl 5.10.1 | |
| 125 | + | |
| 126 | +* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-10 | |
| 127 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild | |
| 128 | + | |
| 129 | +* Sun Mar 01 2009 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-9 | |
| 130 | +- Stripping bad provides of private Perl extension libs | |
| 131 | + | |
| 132 | +* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-8 | |
| 133 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild | |
| 134 | + | |
| 135 | +* Sun Feb 15 2009 Till Maas <opensource@till.name> - 2.4.0-7 | |
| 136 | +- Add missing #include <cstdio> to make it compile with gcc 4.4 | |
| 137 | + | |
| 138 | +* Tue Oct 14 2008 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-6 | |
| 139 | +- package up the perl bindings in their own subpackage | |
| 140 | + | |
| 141 | +* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.4.0-5 | |
| 142 | +- Autorebuild for GCC 4.3 | |
| 143 | + | |
| 144 | +* Thu Aug 23 2007 Till Maas <opensource till name> - 2.4.0-4 | |
| 145 | +- bump release for rebuild | |
| 146 | + | |
| 147 | +* Wed Jul 11 2007 Till Maas <opensource till name> - 2.4.0-3 | |
| 148 | +- remove parallel make flags | |
| 149 | + | |
| 150 | +* Tue Apr 17 2007 Till Maas <opensource till name> - 2.4.0-2 | |
| 151 | +- add some documentation | |
| 152 | +- add mkdir ${RPM_BUILD_ROOT} to %%install | |
| 153 | +- install man-pages | |
| 154 | + | |
| 155 | +* Mon Mar 5 2007 Till Maas <opensource till name> - 2.4.0-1 | |
| 156 | +- Initial spec for fedora | ... | ... |
| ... | ... | @@ -0,0 +1,50 @@ |
| 1 | +%global gitcommit 333ff99 | |
| 2 | +Name: fcgiwrap | |
| 3 | +Version: 1.1.0 | |
| 4 | +Release: 1%{?dist} | |
| 5 | +Summary: Simple FastCGI wrapper for CGI scripts | |
| 6 | +License: MIT | |
| 7 | +URL: http://nginx.localdomain.pl/ | |
| 8 | +Group: System Environment/Daemons | |
| 9 | + | |
| 10 | +Source0: fcgiwrap-%{version}.tar.gz | |
| 11 | + | |
| 12 | +BuildRequires: autoconf | |
| 13 | +BuildRequires: fcgi-devel | |
| 14 | +Requires: spawn-fcgi | |
| 15 | + | |
| 16 | +%description | |
| 17 | +fcgiwrap is a simple server for running CGI applications over FastCGI. | |
| 18 | +It hopes to provide clean CGI support to Nginx (and other web servers | |
| 19 | +that may need it). | |
| 20 | + | |
| 21 | + | |
| 22 | +%prep | |
| 23 | +%setup | |
| 24 | + | |
| 25 | + | |
| 26 | +%build | |
| 27 | +autoreconf -i | |
| 28 | +%configure --prefix="" | |
| 29 | +make | |
| 30 | + | |
| 31 | + | |
| 32 | +%install | |
| 33 | +make install DESTDIR=%{buildroot} | |
| 34 | + | |
| 35 | +%files | |
| 36 | +%doc README.rst | |
| 37 | +%{_sbindir}/fcgiwrap | |
| 38 | +%{_mandir}/man8/fcgiwrap.8* | |
| 39 | + | |
| 40 | +%changelog | |
| 41 | + | |
| 42 | +* Fri Feb 08 2013 Hiroaki Nakamura <hnakamur@gmail.com> - 1.1.0-1 | |
| 43 | +- new upstream release. | |
| 44 | +* Fri Jan 11 2013 Hiroaki Nakamura <hnakamur@gmail.com> - 1.0.3.20120908-1 | |
| 45 | +- Change version to increase monotonously. | |
| 46 | +* Wed Jan 9 2013 Hiroaki Nakamura <hnakamur@gmail.com> - 1.0.3-3.gitb9f03e6377 | |
| 47 | +- Make the rpm relocatable. | |
| 48 | +* Tue Dec 25 2012 Hiroaki Nakamura <hnakamur@gmail.com> - 1.0.3-2.gitb9f03e6377 | |
| 49 | +* Tue Jan 31 2012 Craig Barnes <cr@igbarn.es> - 1.0.3-1.git1328862 | |
| 50 | +- Initial package | ... | ... |
| ... | ... | @@ -0,0 +1,86 @@ |
| 1 | +Summary: Simple program for spawning FastCGI processes | |
| 2 | +Name: spawn-fcgi | |
| 3 | +Version: 1.6.3 | |
| 4 | +Release: 5%{?dist} | |
| 5 | +License: BSD | |
| 6 | +Group: System Environment/Daemons | |
| 7 | +URL: http://redmine.lighttpd.net/projects/spawn-fcgi/ | |
| 8 | +Source0: http://www.lighttpd.net/download/spawn-fcgi-%{version}.tar.gz | |
| 9 | +Source1: spawn-fcgi.init | |
| 10 | +Source2: spawn-fcgi.sysconfig | |
| 11 | +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | |
| 12 | +# Note that restarting automatically upon update makes no sense at all here | |
| 13 | +Requires(post): /sbin/chkconfig | |
| 14 | +Requires(preun): /sbin/service, /sbin/chkconfig | |
| 15 | + | |
| 16 | +%description | |
| 17 | +This package contains the spawn-fcgi program used for spawning FastCGI | |
| 18 | +processes, which can be local or remote. | |
| 19 | + | |
| 20 | + | |
| 21 | +%prep | |
| 22 | +%setup -q | |
| 23 | + | |
| 24 | + | |
| 25 | +%build | |
| 26 | +%configure | |
| 27 | +%{__make} %{?_smp_mflags} | |
| 28 | + | |
| 29 | + | |
| 30 | +%install | |
| 31 | +%{__rm} -rf %{buildroot} | |
| 32 | +%{__make} install DESTDIR=%{buildroot} | |
| 33 | +%{__install} -D -p -m 0755 %{SOURCE1} \ | |
| 34 | + %{buildroot}%{_sysconfdir}/init.d/spawn-fcgi | |
| 35 | +%{__install} -D -p -m 0600 %{SOURCE2} \ | |
| 36 | + %{buildroot}%{_sysconfdir}/sysconfig/spawn-fcgi | |
| 37 | + | |
| 38 | + | |
| 39 | +%clean | |
| 40 | +%{__rm} -rf %{buildroot} | |
| 41 | + | |
| 42 | + | |
| 43 | +%post | |
| 44 | +/sbin/chkconfig --add spawn-fcgi | |
| 45 | + | |
| 46 | +%preun | |
| 47 | +if [ $1 -eq 0 ]; then | |
| 48 | + /sbin/service spawn-fcgi stop &>/dev/null || : | |
| 49 | + /sbin/chkconfig --del spawn-fcgi | |
| 50 | +fi | |
| 51 | + | |
| 52 | + | |
| 53 | +%files | |
| 54 | +%defattr(-,root,root,-) | |
| 55 | +%doc AUTHORS COPYING NEWS README | |
| 56 | +%{_sysconfdir}/init.d/spawn-fcgi | |
| 57 | +%config(noreplace) %{_sysconfdir}/sysconfig/spawn-fcgi | |
| 58 | +%{_bindir}/spawn-fcgi | |
| 59 | +%{_mandir}/man1/spawn-fcgi.1* | |
| 60 | + | |
| 61 | + | |
| 62 | +%changelog | |
| 63 | +* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-5 | |
| 64 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild | |
| 65 | + | |
| 66 | +* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-4 | |
| 67 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild | |
| 68 | + | |
| 69 | +* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-3 | |
| 70 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild | |
| 71 | + | |
| 72 | +* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-2 | |
| 73 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild | |
| 74 | + | |
| 75 | +* Wed Sep 30 2009 Matthias Saou <http://freshrpms.net/> 1.6.3-1 | |
| 76 | +- Update to 1.6.3. | |
| 77 | +- Include init script and sysconfig file to make it easy to manage a single | |
| 78 | + instance. | |
| 79 | + | |
| 80 | +* Tue Apr 21 2009 Matthias Saou <http://freshrpms.net/> 1.6.2-1 | |
| 81 | +- Update to 1.6.2. | |
| 82 | +- Remove leftover -f from %%files section. | |
| 83 | + | |
| 84 | +* Mon Mar 30 2009 Matthias Saou <http://freshrpms.net/> 1.6.1-1 | |
| 85 | +- Initial RPM release. | |
| 86 | + | ... | ... |