/[packages]/cauldron/xsp/current/SPECS/xsp.spec
ViewVC logotype

Annotation of /cauldron/xsp/current/SPECS/xsp.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 108192 - (hide annotations) (download)
Thu Jun 16 09:07:49 2011 UTC (12 years, 10 months ago) by stblack
File size: 2283 byte(s)
imported package xsp
1 stblack 108192 Summary: Small Web Server Hosting ASP.NET
2     Name: xsp
3     Version: 2.10
4     Release: %mkrel 1
5     License: BSD
6     Group: System/Servers
7     URL: http://www.mono-project.com/
8     Source: http://go-mono.com/sources/xsp/xsp-%{version}.tar.bz2
9     BuildRequires: mono-devel
10     BuildArch: noarch
11     BuildRoot: %{_tmppath}/%{name}-%{version}-root
12     Conflicts: apache-mod_mono < 1:1.2.5-2
13    
14     %description
15     The XSP server is a small Web server that hosts the Mono System.Web
16     classes for running what is commonly known as ASP.NET.
17    
18     %package devel
19     Group: Development/Other
20     Summary: Development files for %name
21     Requires: %name = %version-%release
22    
23     %description devel
24     The XSP server is a small Web server that hosts the Mono System.Web
25     classes for running what is commonly known as ASP.NET.
26    
27     This package contains the development parts of %{name}.
28    
29     %package doc
30     Summary: Development documentation for %name
31     Group: Development/Other
32     Requires(post): mono-tools >= 1.1.9
33     Requires(postun): mono-tools >= 1.1.9
34    
35     %description doc
36     This package contains the API documentation for %name in
37     Monodoc format.
38    
39     %prep
40    
41     %setup -q
42    
43     %build
44     ./configure --prefix=%_prefix
45     make
46    
47     %install
48     rm -fr %{buildroot}
49     %makeinstall_std pkgconfigdir=%_datadir/pkgconfig
50     #gw install manually:
51     install -D src/Mono.WebServer.XSP/xsp.pc %buildroot%_datadir/pkgconfig/xsp.pc
52     # strip away annoying ^M
53     find %{buildroot} -type f|xargs file|grep 'CRLF'|cut -d: -f1|xargs perl -p -i -e 's/\r//'
54     find %{buildroot} -type f|xargs file|grep 'text'|cut -d: -f1|xargs perl -p -i -e 's/\r//'
55     #gw remove unit tests
56     rm -rf %buildroot%_prefix/lib/xsp/unittests
57    
58     %clean
59     [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
60    
61     %post doc
62     %_bindir/monodoc --make-index > /dev/null
63    
64     %postun doc
65     if [ "$1" = "0" -a -x %_bindir/monodoc ]; then %_bindir/monodoc --make-index > /dev/null
66     fi
67    
68     %files
69     %defattr(-,root,root)
70     %doc AUTHORS INSTALL NEWS README COPYING
71     %attr(0755,root,root) %{_bindir}/*
72     %attr(0644,root,root) %{_mandir}/man1/*
73     %dir %_prefix/lib/xsp
74     %_prefix/lib/xsp/2.0
75     %_prefix/lib/xsp/4.0
76     %_prefix/lib/xsp/test
77     %_prefix/lib/mono/2.0/*
78     %_prefix/lib/mono/4.0/*
79     %_prefix/lib/mono/gac/*
80    
81     %files devel
82     %defattr(-,root,root)
83     %_datadir/pkgconfig/xsp.pc
84     %_datadir/pkgconfig/xsp-2.pc
85     %_datadir/pkgconfig/xsp-4.pc
86    
87     %files doc
88     %defattr(-,root,root)
89     %_prefix/lib/monodoc/sources/*
90    
91    

  ViewVC Help
Powered by ViewVC 1.1.30