From 49d4bc5dbc68efeadbc33ee483d82c6f28f7f8ca Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:09:16 +0100 Subject: [PATCH] update to 6.0.10 [release 6.0.10-1mamba;Thu Jul 13 2017] --- README.md | 2 + ccnet-server.spec | 133 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+) create mode 100644 ccnet-server.spec diff --git a/README.md b/README.md index be67463..00b7e33 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ccnet-server +Ccnet is a framework for writing networked applications in C. + diff --git a/ccnet-server.spec b/ccnet-server.spec new file mode 100644 index 0000000..c29920f --- /dev/null +++ b/ccnet-server.spec @@ -0,0 +1,133 @@ +Name: ccnet-server +Version: 6.0.10 +Release: 1mamba +Summary: A framework for writing networked applications in C +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://seafile.com/en/home/ +## GITSOURCE https://github.com/haiwen/ccnet.git v3.1.4 +Source: https://github.com/haiwen/ccnet-server.git/v%{version}-server/ccnet-server-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libblkid-devel +BuildRequires: libevent-devel +BuildRequires: libffi-devel +BuildRequires: libglib-devel +BuildRequires: libjansson-devel +BuildRequires: libmount-devel +BuildRequires: libmysqlclient-devel +BuildRequires: libopenssl-devel +BuildRequires: libpcre-devel +BuildRequires: libpostgresql-devel +BuildRequires: libpython-devel +BuildRequires: libsearpc-devel +BuildRequires: libselinux-devel +BuildRequires: libsepol-devel +BuildRequires: libsqlite-devel +BuildRequires: libuuid-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +Requires: libccnet = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Ccnet is a framework for writing networked applications in C. + +%package -n libccnet +Group: System/Libraries +Summary: Shared libraries for ccnet + +%description -n libccnet +This package contains shared libraries for %{name}. + +%package -n python-ccnet +Group: System/Libraries +Summary: Python binding to ccnet +Requires: libccnet = %{?epoch:%epoch:}%{version}-%{release} + +%description -n python-ccnet +This package contains python binding to ccnet. + +%package -n libccnet-devel +Group: Development/Libraries +Summary: Development files for ccnet +Requires: libccnet = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n libccnet-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +./autogen.sh +%configure \ + --enable-python \ + --enable-console + +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n libccnet -p /sbin/ldconfig +%postun -n libccnet -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/ccnet-server +%{_bindir}/ccnet-init + +%files -n libccnet +%defattr(-,root,root) +%{_libdir}/libccnet.so.* + +%files -n libccnet-devel +%defattr(-,root,root) +%{_includedir}/ccnet.h +%dir %{_includedir}/ccnet +%{_includedir}/ccnet/*.h +%{_libdir}/libccnet.a +%{_libdir}/libccnet.la +%{_libdir}/libccnet.so +%{_libdir}/pkgconfig/libccnet.pc +#%doc README.markdown + +%files -n python-ccnet +%defattr(-,root,root) +%dir %{python_sitearch}/ccnet +%{python_sitearch}/ccnet/*.py* +%{python_sitearch}/ccnet/async/* + +%changelog +* Thu Jul 13 2017 Silvan Calarco 6.0.10-1mamba +- update to 6.0.10 + +* Wed Jul 12 2017 Silvan Calarco 6.0.7-1mamba +- update to 6.0.7 + +* Fri Apr 08 2016 Silvan Calarco 5.0.7-1mamba +- update to 5.0.7 + +* Thu May 14 2015 Silvan Calarco 4.2.1-1mamba +- update to 4.2.1 + +* Thu Jan 01 2015 Silvan Calarco 3.1.12-1mamba +- update to 3.1.12 + +* Sun Aug 10 2014 Silvan Calarco 3.1.4-2mamba +- rebuilt with --enable-server and other configure options + +* Tue Aug 05 2014 Silvan Calarco 3.1.4-1mamba +- package created using the webbuild interface