]>
Commit | Line | Data |
---|---|---|
300ad9cf | 1 | Summary: Mono ASP.NET Standalone Web Server |
a74f4d28 | 2 | Summary(pl.UTF-8): Serwer HTTP obsługujący ASP.NET |
300ad9cf | 3 | Name: xsp |
ec92a6dc | 4 | Version: 4.7.1 |
19bd233a | 5 | Release: 1 |
300ad9cf | 6 | Epoch: 1 |
ec92a6dc | 7 | License: MIT |
074eda2a | 8 | Group: Networking/Daemons/HTTP |
ec92a6dc JB |
9 | Source0: https://download.mono-project.com/sources/xsp/%{name}-%{version}.tar.gz |
10 | # Source0-md5: cdcead997e96d86b24a2766f5f04e5d4 | |
11 | URL: https://www.mono-project.com/ | |
36306235 | 12 | BuildRequires: autoconf >= 2.57 |
300ad9cf | 13 | BuildRequires: automake |
243bb405 JB |
14 | BuildRequires: libtool |
15 | BuildRequires: mono-csharp >= 4.0 | |
36306235 | 16 | BuildRequires: pkgconfig |
ec92a6dc | 17 | BuildRequires: rpmbuild(macros) >= 2.015 |
243bb405 | 18 | Requires: mono-csharp >= 4.0 |
258fa5f4 | 19 | ExcludeArch: i386 |
300ad9cf MK |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
300ad9cf MK |
22 | %description |
23 | XSP provides a minimalistic web server which hosts the ASP.NET runtime | |
24 | and can be used to test and debug web applications that use the | |
25 | System.Web facilities in Mono. | |
26 | ||
171f37e6 JR |
27 | %description -l pl.UTF-8 |
28 | XSP to minimalistyczny serwer HTTP utrzymujący aplikacje i strony | |
29 | ASP.NET, który może być też używany do testów i śledzenia błędów | |
30 | aplikacji używających klasy System.Web dostarczanej z pakietem Mono. | |
300ad9cf | 31 | |
0f308a59 JB |
32 | %package devel |
33 | Summary: Development files for XSP | |
34 | Summary(pl.UTF-8): Pliki programistyczne XSP | |
35 | Group: Development | |
36 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
37 | Requires: monodoc | |
38 | ||
39 | %description devel | |
40 | Development files for XSP. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Pliki programistyczne XSP. | |
44 | ||
7d893971 | 45 | %package debug |
46 | Summary: xsp libraries debugging resources | |
a74f4d28 | 47 | Summary(pl.UTF-8): Pliki umożliwiające debugowanie bibliotek xsp |
7d893971 | 48 | Group: Development/Libraries |
cb8a279a | 49 | Requires: %{name} = %{epoch}:%{version}-%{release} |
7d893971 | 50 | |
51 | %description debug | |
52 | xsp libraries debugging resources. | |
53 | ||
171f37e6 JR |
54 | %description debug -l pl.UTF-8 |
55 | Pliki umożliwiające debugowanie bibliotek xsp. | |
7d893971 | 56 | |
300ad9cf | 57 | %prep |
13deb486 | 58 | %setup -q |
300ad9cf MK |
59 | |
60 | %build | |
243bb405 | 61 | %{__libtoolize} |
6511301d | 62 | %{__aclocal} -I build/m4/shamrock -I build/m4/shave |
300ad9cf MK |
63 | %{__autoconf} |
64 | %{__automake} | |
65 | ||
243bb405 JB |
66 | %configure \ |
67 | --disable-static | |
0f308a59 | 68 | %{__make} -j1 |
300ad9cf MK |
69 | |
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
243bb405 JB |
76 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfpm_helper.la |
77 | # 2.0 profile is no longer supported | |
78 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/{asp-state2,dbsessmgr2,fastcgi-mono-server2,mod-mono-server2,xsp2} \ | |
79 | $RPM_BUILD_ROOT%{_pkgconfigdir}/xsp-2.pc | |
80 | # switch default scripts to 4.0 profile | |
81 | for f in asp-state dbsessmgr fastcgi-mono-server mod-mono-server xsp ; do | |
82 | ln -sf ${f}4 $RPM_BUILD_ROOT%{_bindir}/$f | |
83 | done | |
84 | ||
c3b42cb7 | 85 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/httpd/httpd.conf,%{_examplesdir}/%{name}-%{version}} |
300ad9cf | 86 | |
243bb405 | 87 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/test $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
300ad9cf | 88 | |
0a692b2f JB |
89 | %clean |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
243bb405 JB |
92 | %post -p /sbin/ldconfig |
93 | %postun -p /sbin/ldconfig | |
94 | ||
300ad9cf MK |
95 | %files |
96 | %defattr(644,root,root,755) | |
470bc5da | 97 | %doc AUTHORS COPYING ChangeLog NEWS README |
0f308a59 | 98 | %attr(755,root,root) %{_bindir}/asp-state |
0f308a59 JB |
99 | %attr(755,root,root) %{_bindir}/asp-state4 |
100 | %attr(755,root,root) %{_bindir}/dbsessmgr | |
0f308a59 JB |
101 | %attr(755,root,root) %{_bindir}/dbsessmgr4 |
102 | %attr(755,root,root) %{_bindir}/fastcgi-mono-server | |
0f308a59 JB |
103 | %attr(755,root,root) %{_bindir}/fastcgi-mono-server4 |
104 | %attr(755,root,root) %{_bindir}/mod-mono-server | |
0f308a59 | 105 | %attr(755,root,root) %{_bindir}/mod-mono-server4 |
243bb405 JB |
106 | %attr(755,root,root) %{_bindir}/mono-fpm |
107 | %attr(755,root,root) %{_bindir}/shim | |
0f308a59 | 108 | %attr(755,root,root) %{_bindir}/xsp |
0f308a59 | 109 | %attr(755,root,root) %{_bindir}/xsp4 |
243bb405 JB |
110 | %attr(755,root,root) %{_libdir}/libfpm_helper.so.*.*.* |
111 | %attr(755,root,root) %ghost %{_libdir}/libfpm_helper.so.0 | |
73602b63 | 112 | %{_libdir}/%{name} |
243bb405 JB |
113 | %{_prefix}/lib/mono/4.5/fastcgi-mono-server4.exe |
114 | %{_prefix}/lib/mono/4.5/mod-mono-server4.exe | |
115 | %{_prefix}/lib/mono/4.5/mono-fpm.exe | |
116 | %{_prefix}/lib/mono/4.5/xsp4.exe | |
7d893971 | 117 | %{_prefix}/lib/mono/gac/Mono.WebServer2 |
0f308a59 | 118 | %{_prefix}/lib/mono/gac/fastcgi-mono-server4 |
0f308a59 | 119 | %{_prefix}/lib/mono/gac/mod-mono-server4 |
243bb405 | 120 | %{_prefix}/lib/mono/gac/mono-fpm |
0f308a59 JB |
121 | %{_prefix}/lib/mono/gac/xsp4 |
122 | %exclude %{_prefix}/lib/mono/gac/*/*/*.mdb | |
470bc5da JB |
123 | %{_mandir}/man1/asp-state.1* |
124 | %{_mandir}/man1/dbsessmgr.1* | |
125 | %{_mandir}/man1/fastcgi-mono-server.1* | |
126 | %{_mandir}/man1/mod-mono-server.1* | |
127 | %{_mandir}/man1/xsp.1* | |
0f308a59 JB |
128 | |
129 | %files devel | |
130 | %defattr(644,root,root,755) | |
243bb405 JB |
131 | %attr(755,root,root) %{_libdir}/libfpm_helper.so |
132 | %{_prefix}/lib/mono/4.5/Mono.WebServer2.dll | |
f86c66c8 | 133 | %{_prefix}/lib/monodoc/sources/Mono.FastCGI.* |
0f308a59 | 134 | %{_prefix}/lib/monodoc/sources/Mono.WebServer.* |
0f308a59 | 135 | %{_pkgconfigdir}/xsp-4.pc |
300ad9cf | 136 | %{_examplesdir}/%{name}-%{version} |
7d893971 | 137 | |
138 | %files debug | |
139 | %defattr(644,root,root,755) | |
140 | %{_prefix}/lib/mono/gac/*/*/*.mdb |