source: projects/specs/trunk/f/fcgi/fcgi-vl.spec @ 12364

Revision 12364, 4.5 KB checked in by tomop, 4 years ago (diff)

updated 13 packages

acpid-2.0.32-1

at-3.1.23-1

autofs-5.1.6-1

dracut-050-3

fcgi-2.4.2-1

fcgiwrap-1.1.0.git20200404-2

firefox-68.6.1-1

initscripts-8.91.16-3

iptables-1.8.4-2

lxc-4.0.0-1

libnftnl-1.1.6-1

smp_utils-0.99-1

util-linux-2.35.1-1

Line 
1#define snap -SNAP-0910052249
2
3Summary:        FastCGI development kit
4Summary(ja):    FastCGI 開発キット
5Name:           fcgi
6Version:        2.4.2
7Release:        1%{?_dist_release}
8
9Group:          Development/Languages
10License:        BSD
11URL:            https://github.com/FastCGI-Archives/fcgi2
12Source0:        https://github.com/FastCGI-Archives/fcgi2/archive/%{version}.tar.gz#/fcgi-%{version}%{?snap}.tar.gz
13Source1:        fcgi-autogen.sh
14Patch0:         fcgi-2.4.0-autotools.patch
15# Patch0 created with Source1 after patching Patch1 and Patch2
16#Patch1:         fcgi-2.4.0-configure.in.patch
17#Patch2:         fcgi-2.4.0-Makefile.am-CPPFLAGS.patch
18Patch3:         fcgi-2.4.0-gcc44_fixes.patch
19
20BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
21
22# for -perl
23BuildRequires:  perl(ExtUtils::MakeMaker)
24
25# don't "provide" private Perl libs
26%global __provides_exclude_from %{perl_vendorarch}.*\\.so$
27
28%description
29FastCGI is a language independent, scalable, open extension to CGI that
30provides high performance without the limitations of server specific APIs.
31
32
33%package        devel
34Summary:        Development files for %{name}
35Summary(ja):    Development files for %{name}
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38
39
40%description    devel
41The %{name}-devel package contains libraries and header files for
42developing applications that use %{name}.
43
44
45%package perl
46Summary:        Perl bindings for %{name}
47Summary(ja):    Perl bindings for %{name}
48Group:          Development/Libraries
49Requires:       %{name} = %{version}-%{release}
50Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
51
52
53%description    perl
54The %{name}-perl package contains the perl bindings for fcgi.
55
56
57%prep
58%setup -q -n "fcgi2-%{version}%{?snap}"
59#%patch0 -p1
60%patch3 -p1
61
62# remove DOS End Of Line Encoding
63sed -i 's/\r//' doc/fastcgi-prog-guide/ch2c.htm
64# fix file permissions
65chmod a-x include/fcgios.h libfcgi/os_unix.c
66
67autoreconf -ivf
68
69%build
70%configure
71# does not build with parallel make flags
72make
73
74%install
75%{__rm} -rf %{buildroot}
76%{__mkdir_p} %{buildroot}
77
78make install DESTDIR=%{buildroot}
79%{__rm} -fv %{buildroot}/%{_libdir}/libfcgi{++,}.{l,}a
80install -p -m 0644 -D doc/cgi-fcgi.1 %{buildroot}/%{_mandir}/man1/cgi-fcgi.1
81for manpage in doc/*.3
82do
83install -p -m 0644 -D $manpage %{buildroot}%{_mandir}/man3/$(basename $manpage)
84done
85%{__rm} -f -- doc/*.1
86%{__rm} -f -- doc/*.3
87
88
89%post
90/sbin/ldconfig
91
92%postun
93/sbin/ldconfig
94
95
96%clean
97rm -rf $RPM_BUILD_ROOT
98
99
100%files
101%defattr(-,root,root,-)
102%{_bindir}/cgi-fcgi
103%{_libdir}/libfcgi.so.*
104%{_libdir}/libfcgi++.so.*
105%{_mandir}/man1/*
106%defattr(0644,root,root,0755)
107%license LICENSE.TERMS
108%doc README
109
110
111%files devel
112%defattr(-,root,root,-)
113%{_includedir}/*
114%{_libdir}/libfcgi.so
115%{_libdir}/libfcgi++.so
116%{_libdir}/pkgconfig/*
117%{_mandir}/man3/*
118%defattr(0644,root,root,0755)
119%doc doc/
120
121
122%changelog
123* Sat Apr 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.2-1
124- new upstream release.
125- dropped Patch4: fixed in upstream.
126
127* Thu Sep 01 2016 Toshiaki Ara <ara_t@384.jp> 2.4.1-3
128- rebuild with gcc-5.4.0
129
130* Mon Dec 21 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.1-2
131- made to use internal dependency generator.
132
133* Tue Jul  8 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.1-1
134- new upstream release.
135- removed perl binding (not used).
136
137* Sun Apr  3 2011 IWAI, Masaharu <iwai@alib.jp> 2.4.0-2vl6
138- build with perl 5.12.3
139
140* Sat Jul 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-1
141- initial build for Vine Linux
142
143* Sun Mar 01 2009 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-9
144- Stripping bad provides of private Perl extension libs
145
146* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-8
147- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
148
149* Sun Feb 15 2009 Till Maas <opensource@till.name> - 2.4.0-7
150- Add missing #include <cstdio> to make it compile with gcc 4.4
151
152* Tue Oct 14 2008 Chris Weyl <cweyl@alumni.drew.edu> - 2.4.0-6
153- package up the perl bindings in their own subpackage
154
155* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.4.0-5
156- Autorebuild for GCC 4.3
157
158* Thu Aug 23 2007 Till Maas <opensource till name> - 2.4.0-4
159- bump release for rebuild
160
161* Wed Jul 11 2007 Till Maas <opensource till name> - 2.4.0-3
162- remove parallel make flags
163
164* Tue Apr 17 2007 Till Maas <opensource till name> - 2.4.0-2
165- add some documentation
166- add mkdir ${RPM_BUILD_ROOT} to %%install
167- install man-pages
168
169* Mon Mar 5 2007 Till Maas <opensource till name> - 2.4.0-1
170- Initial spec for fedora
Note: See TracBrowser for help on using the repository browser.