/[smecontribs]/rpms/ccnet/contribs9/ccnet.spec
ViewVC logotype

Contents of /rpms/ccnet/contribs9/ccnet.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Feb 27 03:54:10 2018 UTC (6 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: ccnet-5_1_3-4_el6_sme
Changes since 1.2: +2 -2 lines
* Mon Feb 19 2018 Jean-Philippe Pialasse <tests@pialasse.com> - 5.1.3-4
- rebuild with lib and server packages

1 %define major 0
2 %define libname lib%{name}
3 %define develname %{name}-devel
4 %define release 4
5 Name: ccnet
6 Version: 5.1.3
7 Release: %{release}%{dist}
8 Summary: Networking library for Seafile
9 License: GPLv3+
10 Group: Networking/File transfer
11 URL: https://github.com/haiwen/ccnet
12 Source0: https://github.com/haiwen/ccnet/archive/v%{version}/%{name}-%{version}.tar.gz
13 #Source0: https://github.com/haiwen/ccnet/archive/v%{version}/v%{version}.tar.gz
14 BuildRequires: pkgconfig(glib-2.0)
15 BuildRequires: pkgconfig(jansson)
16 #BuildRequires: pkgconfig(sqlite3)
17 BuildRequires: sqlite-devel
18 BuildRequires: sqlite
19 BuildRequires: pkgconfig(openssl)
20 BuildRequires: pkgconfig(libevent)
21 BuildRequires: pkgconfig(uuid) >= 2.0
22 BuildRequires: pkgconfig(libsearpc)
23 #BuildRequires: pkgconfig(python2)
24 BuildRequires: python-devel
25 #BuildRequires: vala >= 0.26
26 BuildRequires: vala
27 Buildrequires: autoconf
28 Buildrequires: automake
29 Buildrequires: libtool
30 # server requirements
31 BuildRequires: pkgconfig(zdb)
32
33 Requires: pythonegg(2)(ccnet) = %{version}-%{release}
34
35 %description
36 Ccnet is a framework for writing networked applications in C.
37
38 #----------------------------------------------------
39
40 %package server
41 Summary: Ccnet server
42 Group: Networking/File transfer
43 Requires: pythonegg(2)(ccnet) = %{version}-%{release}
44
45 %description server
46 Ccnet is a framework for writing networked applications in C.
47 This package contains the server part for %{name}.
48
49 #----------------------------------------------------
50
51 %package -n %{libname}
52 Summary: Library for %{name}
53 Group: System/Libraries
54
55 %description -n %{libname}
56 Ccnet is a framework for writing networked applications in C.
57 This package contains library files for %{name}.
58
59 #----------------------------------------------------
60
61 %package -n %{develname}
62 Summary: Development files for %{name}
63 Group: Development/C
64 Requires: %{libname} = %{version}-%{release}
65 Provides: %{name}-devel = %{version}-%{release}
66 Provides: lib%{name}-devel = %{version}-%{release}
67
68 %description -n %{develname}
69 The %{develname} package contains libraries and header files for
70 developing applications that use %{name}.
71
72 #----------------------------------------------------
73
74 %package -n python-%{name}
75 Summary: Python 2 bindings for %{name}
76 Group: Development/Python
77 BuildArch: noarch
78 Provides: pythonegg(2)(ccnet) = %{version}-%{release}
79
80 %description -n python-%{name}
81 Ccnet is a framework for writing networked applications in C.
82 This package contains the python 2 bindings for %{name}.
83
84 #----------------------------------------------------
85
86 %prep
87 %setup -q
88
89 sed -i -e /\(DESTDIR\)/d libccnet.pc.in
90
91 NOCONFIGURE=1 ./autogen.sh
92
93 %build
94 #%configure2_5x \
95 %configure \
96 --enable-server \
97 --disable-static \
98 --disable-compile-demo
99 #%make_build
100 make
101
102 %install
103 #%make_install
104 #make install
105 %{__make} install DESTDIR=%{buildroot}
106
107 # we don't want these
108 find %{buildroot} -name '*.la' -delete
109
110 %files
111 %doc HACKING README.markdown
112 #%doc COPYRIGHT
113 %{_bindir}/%{name}
114 %{_bindir}/%{name}-init
115 %{_bindir}/%{name}-tool
116
117 %files server
118 %doc HACKING README.markdown
119 #%doc COPYRIGHT
120 %{_bindir}/%{name}-server
121 %{_bindir}/%{name}-servtool
122
123 %files -n %{libname}
124 %{_libdir}/lib%{name}.so.%{major}
125 %{_libdir}/lib%{name}.so.%{major}.*
126
127 %files -n %{develname}
128 %doc HACKING README.markdown
129 %{_includedir}/*
130 %{_libdir}/lib%{name}.so
131 %{_libdir}/pkgconfig/lib%{name}.pc
132
133 %files -n python-%{name}
134 %doc HACKING README.markdown
135 %{python_sitearch}/%{name}/
136
137
138 %changelog
139 * Mon Feb 19 2018 Jean-Philippe Pialasse <tests@pialasse.com> - 5.1.3-4
140 - rebuild with lib and server packages
141
142 * Mon Feb 19 2018 Jean-Philippe Pialasse <tests@pialasse.com> - 5.1.3-2
143 - first import for SME Server
144 - adapt spec file for buildsystem
145
146 * Tue Nov 01 2016 daviddavid <daviddavid> 5.1.3-1.mga5
147 + Revision: 1064478
148 - new version: 5.1.3
149
150 + neoclust <neoclust>
151 - Use version 5.1.2 in backports
152 - Add to backports
153
154 * Thu Jun 30 2016 daviddavid <daviddavid> 5.1.3-1.mga6
155 + Revision: 1038171
156 - new version: 5.1.3
157
158 * Thu May 12 2016 daviddavid <daviddavid> 5.1.1-2.mga6
159 + Revision: 1014278
160 - add the server part of ccnet
161
162 * Fri May 06 2016 daviddavid <daviddavid> 5.1.1-1.mga6
163 + Revision: 1009881
164 - initial package ccnet
165

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed