Menu

[r2282]: / packaging / trunk / rpm / framework / cppcms.spec  Maximize  Restore  History

Download this file

93 lines (69 with data), 3.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Name: cppcms
Version: 1.0.5
Release: 1
Summary: CppCMS - C++ Web Framework
Group: Development/Libraries/C and C++
License: LGPLv3
URL: http://cppcms.com
Source: http://downloads.sourceforge.net/project/cppcms/cppcms/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake zlib-devel pcre-devel libicu-devel gcc-c++ gcc libgcrypt-devel make python
%description
A Free C++ Web Development Framework (not a CMS) aimed for Rapid Web Application Development.
It differs from most of other web development frameworks like: Python Django, Java Servlets or C++ Wt in following:
- It is designed and tuned to handle extremely high loads.
- It uses modern C++ as primary development language in order to achieve first goal.
- It is aimed on development of Web Sites rather then "GUI Like" web applications.
- It is available under open source LGPLv3 license and alternative Commercial License for users who needs an alternative license for proprietary software development.
%package -n libcppcms
Summary: CppCMS - C++ Web Framework
Group: Development/Libraries/C and C++
License: LGPLv3
%description -n libcppcms
A Free C++ Web Development Framework (not a CMS) aimed for Rapid Web Application Development.
It differs from most of other web development frameworks like: Python Django, Java Servlets or C++ Wt in following:
- It is designed and tuned to handle extremely high loads.
- It uses modern C++ as primary development language in order to achieve first goal.
- It is aimed on development of Web Sites rather then "GUI Like" web applications.
- It is available under open source LGPLv3 license and alternative Commercial License for users who needs an alternative license for proprietary software development.
%package -n libcppcms-devel
Summary: Development libraries for %{name}
Group: Development/Libraries/C and C++
Requires: lib%{name} = %{version}, cppcms-tools = %{version}
%description -n libcppcms-devel
Development files for %{name}
%package -n cppcms-tools
Summary: Various tools for %{name}
Group: Development/Libraries/C and C++
Requires: lib%{name} = %{version}
%description -n cppcms-tools
Tools for %{name}
%prep
%setup -q
%build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIBDIR=%{_libdir} \
.
make %{?_smp_mflags}
%install
%make_install
%clean
rm -rf %{buildroot}
%post -n libcppcms -p /sbin/ldconfig
%postun -n libcppcms -p /sbin/ldconfig
%files -n cppcms-tools
%defattr(-,root,root)
%{_bindir}/cppcms_*
%files -n libcppcms
%defattr(-,root,root)
%{_libdir}/libcppcms.so.*
%{_libdir}/libbooster.so.*
%files -n libcppcms-devel
%defattr(-,root,root)
%{_libdir}/libcppcms.so
%{_libdir}/libcppcms.a
%{_libdir}/libbooster.so
%{_libdir}/libbooster.a
%{_includedir}/cppcms
%{_includedir}/booster
%changelog
MongoDB Logo MongoDB