ccnet-server/ccnet-server.spec

137 lines
3.6 KiB
RPMSpec
Raw Normal View History

Name: ccnet-server
Version: 6.2.3
Release: 1mamba
Summary: A framework for writing networked applications in C
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 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