]>
Commit | Line | Data |
---|---|---|
265c2052 | 1 | %define _rel 2 |
2 | Summary: The DotGNU Execution Environment Core | |
3 | Name: dgee | |
4 | Version: 0.1.6 | |
5 | Release: %{_rel}.0.0.1 | |
6 | Source0: http://www.nfluid.com/download/src/%{name}-%{version}-%{_rel}.tgz | |
7 | # Source0-md5: a2573a076832c4c7212479cabda15eff | |
8 | Patch0: %{name}-DESTDIR.patch | |
9 | Patch1: %{name}-apache.patch | |
10 | License: GPL | |
11 | Vendor: DotGNU | |
12 | Group: Networking/Daemons | |
265c2052 | 13 | BuildRequires: expat-devel |
89066afc | 14 | BuildRequires: goldwater-devel => 0.3.4 |
15 | BuildRequires: phlib-devel => 1.20 | |
16 | BuildRequires: pnet-devel => 0.6.0-2 | |
265c2052 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | The core DotGNU Execution Environment that provides the functionality | |
21 | of accepting, validating and satisfying web service requests. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | %patch0 -p1 | |
26 | %patch1 -p1 | |
27 | ||
28 | %build | |
29 | %{__aclocal} | |
30 | %{__autoconf} | |
31 | %{__automake} | |
32 | %configure \ | |
33 | --with-goldwater=%{_prefix} \ | |
34 | --with-pnet=%{_prefix} | |
35 | ||
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc BINARYINSTALL INSTALL QUICKSTART README COPYING | |
48 | %attr(755,root,root) %{_bindir}/* | |
49 | %config %{_sysconfdir}/%{name}* | |
50 | %config %{_sysconfdir}/httpd/mod_%{name}.conf | |
51 | %{_libdir}/%{name} | |
52 | %{_libdir}/libdgee.* | |
53 | %{_libdir}/libdgxml.* | |
54 | %{_libdir}/apache/mod_%{name}.so | |
55 | %{_datadir}/%{name} | |
56 | ||
57 | # Local variables: | |
58 | # mode: rpm-spec | |
59 | # end: |