143 lines
3.8 KiB
RPMSpec
143 lines
3.8 KiB
RPMSpec
Name: ccnet-server
|
|
Version: 7.1.5
|
|
Release: 2mamba
|
|
Summary: A framework for writing networked applications in C
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.seafile.com/en/home/
|
|
Source: https://github.com/haiwen/ccnet-server.git/v%{version}-server/ccnet-server-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libevent-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libjansson-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libpython310-devel
|
|
BuildRequires: libsearpc-devel
|
|
BuildRequires: libsqlite-devel
|
|
BuildRequires: libuuid-devel
|
|
## AUTOBUILDREQ-END
|
|
Provides: ccnet
|
|
Obsoletes: ccnet < 7.1.5-2mamba
|
|
Requires: libccnet = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%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
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure \
|
|
--enable-python \
|
|
--enable-console \
|
|
PYTHON=%{__python310}
|
|
|
|
%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.so
|
|
%{_libdir}/pkgconfig/libccnet.pc
|
|
#%doc README.markdown
|
|
|
|
%files -n python-ccnet
|
|
%defattr(-,root,root)
|
|
%dir %{python310_sitearch}/ccnet
|
|
%{python310_sitearch}/ccnet/*.py*
|
|
%{python310_sitearch}/ccnet/__pycache__/*.pyc
|
|
|
|
%changelog
|
|
* Wed Jun 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.5-2mamba
|
|
- rebuilt with python 3.10
|
|
|
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.5-1mamba
|
|
- update to 7.1.5
|
|
|
|
* Sat Sep 14 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.0-1mamba
|
|
- update to 7.0.0
|
|
|
|
* Tue Dec 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.4-2mamba
|
|
- provide/obsolete ccnet
|
|
|
|
* Tue Dec 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.4-1mamba
|
|
- update to 6.3.4
|
|
|
|
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.3-1mamba
|
|
- update to 6.2.3
|
|
|
|
* Thu Jul 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.10-1mamba
|
|
- update to 6.0.10
|
|
|
|
* Wed Jul 12 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.7-1mamba
|
|
- update to 6.0.7
|
|
|
|
* Fri Apr 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.7-1mamba
|
|
- update to 5.0.7
|
|
|
|
* Thu May 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.1-1mamba
|
|
- update to 4.2.1
|
|
|
|
* Thu Jan 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.12-1mamba
|
|
- update to 3.1.12
|
|
|
|
* Sun Aug 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.4-2mamba
|
|
- rebuilt with --enable-server and other configure options
|
|
|
|
* Tue Aug 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.4-1mamba
|
|
- package created using the webbuild interface
|