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

Annotation of /rpms/ccnet/contribs9/ccnet.spec

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


Revision 1.1 - (hide annotations) (download)
Tue Feb 20 03:59:27 2018 UTC (6 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: ccnet-6_1_3-2_el6_sme
*** empty log message ***

1 jpp 1.1 %global _hardened_build 1
2     %define release 2
3    
4     Name: ccnet
5     Version: 6.1.3
6     Release: %{release}%{?dist}
7     Summary: A framework for writing networked applications in C
8    
9     License: GPLv3
10     URL: https://github.com/haiwen/%{name}
11     Source0: https://github.com/haiwen/%{name}/archive/v%{version}.tar.gz
12    
13     BuildRequires: autoconf
14     BuildRequires: automake
15     BuildRequires: libtool
16     BuildRequires: glib2-devel
17     BuildRequires: sqlite-devel
18     BuildRequires: openssl-devel
19     BuildRequires: libevent2-devel
20     BuildRequires: libuuid-devel
21     BuildRequires: libsearpc-devel
22     BuildRequires: libzdb-devel
23     BuildRequires: python2-devel
24     BuildRequires: vala
25    
26    
27     %description
28     Ccnet is a framework for writing networked applications in C. It provides the
29     following basic services:
30    
31     * Peer identification
32     * Connection Management
33     * Service invocation
34     * Message sending
35    
36     In ccnet network, there are two types of nodes, i.e., client and server.
37     Server has the following functions:
38    
39     * User management
40     * Group management
41     * Cluster management
42    
43    
44     %package devel
45     Summary: Development files for %{name}
46     Requires: %{name}%{?_isa} = %{version}-%{release}
47     Requires: glib2-devel
48     Requires: libevent2-devel
49     Requires: libsearpc-devel
50    
51    
52     %description devel
53     The %{name}-devel package contains libraries and header files for
54     developing applications that use %{name}.
55    
56    
57     %prep
58     %setup -qn %{name}-%{version}
59     sed -i -e /\(DESTDIR\)/d libccnet.pc.in
60    
61    
62     %build
63     ./autogen.sh --enable-server --enable-client
64     %configure --disable-static --disable-compile-demo
65     sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
66     %{__make} %{?_smp_mflags} CFLAGS="%{optflags}"
67    
68    
69     %install
70     %{__make} install DESTDIR=%{buildroot}
71     find %{buildroot} -name '*.la' -exec rm -f {} ';'
72    
73    
74     %check
75     %{__make} check
76    
77    
78     %post -p /sbin/ldconfig
79    
80    
81     %postun -p /sbin/ldconfig
82    
83    
84     %files
85     %doc HACKING README.markdown
86     %doc LICENSE.txt
87     %{_libdir}/libccnet.so.*
88     %{_bindir}/%{name}*
89     %{python_sitearch}/%{name}
90    
91    
92     %files devel
93     %doc LICENSE.txt
94     %{_includedir}/*
95     %{_libdir}/libccnet.so
96     %{_libdir}/pkgconfig/lib%{name}.pc
97    
98    
99     %changelog
100     * Mon Feb 19 2018 Jean-Philippe Pialasse <tests@pialasse.com> - 6.1.3-2
101     - first import for SME Server
102     - adapt spec file for buildsystem
103    
104     * Mon Nov 06 2017 Julien Enselme <jujens@jujens.eu> - 6.1.3-1
105     - Update to 6.1.3
106    
107     * Thu Aug 10 2017 Julien Enselme <jujens@jujens.eu> - 6.1.0-1
108     - Update to 6.1.0
109    
110     * Tue Mar 07 2017 Julien Enselme <jujens@jujens.eu> - 6.0.4-1
111     - Update to 6.0.4
112    
113     * Sun Oct 23 2016 Julien Enselme <jujens@jujens.eu> - 6.0.0-1
114     - Update to 6.0.0
115     - Unretire package
116    
117     * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.2-2
118     - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
119    
120     * Sat May 14 2016 Julien Enselme <jujens@jujens.eu> - 5.1.2-1
121     - Update to 5.1.2
122    
123     * Tue Feb 02 2016 Nikos Roussos <comzeradd@fedoraproject.org> - 5.0.5-1
124     - Update to 5.0.5
125    
126     * Thu Dec 03 2015 Nikos Roussos <comzeradd@fedoraproject.org> - 5.0.0-1
127     - Update to 5.0.0
128     - Add license to devel subpackage
129     - Add optflags
130     - Add libzdb-devel requirement
131     - Add python2-devel requirement
132     - unused-direct-shlib-dependency
133    
134     * Wed Sep 16 2015 Nikos Roussos <comzeradd@fedoraproject.org> - 4.3.4-1
135     - Update to 4.3.4
136    
137     * Sat Apr 11 2015 Nikos Roussos <comzeradd@fedoraproject.org> - 4.1.4-1
138     - Update to 4.1.4
139     - Hardened build
140    
141     * Wed Nov 05 2014 Nikos Roussos <comzeradd@fedoraproject.org> - 3.1.8-1
142     - Update to 3.1.8
143    
144     * Tue Aug 12 2014 Nikos Roussos <comzeradd@fedoraproject.org> - 3.1.4-1
145     - Initial version of the package

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