From c9bbba2a1145a9cd72891925ff04b40ff3d097b9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:43:08 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.1.4-1mamba;Tue Aug 05 2014] --- README.md | 4 ++ seafile.spec | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 seafile.spec diff --git a/README.md b/README.md index 9d366b6..0f4efe9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # seafile +Seafile is a next-generation open source cloud storage system with advanced support for file syncing, privacy protection and teamwork. +Collections of files are called libraries, and each library can be synced separately. A library can be encrypted with a user chosen password. This password is not stored on the server, so even the server admin cannot view a file's contents. +Seafile allows users to create groups with file syncing, wiki, and discussion to enable easy collaboration around documents within a team. + diff --git a/seafile.spec b/seafile.spec new file mode 100644 index 0000000..881f3c6 --- /dev/null +++ b/seafile.spec @@ -0,0 +1,114 @@ +Name: seafile +Version: 3.1.4 +Release: 1mamba +Summary: A next-generation open source cloud storage system with advanced support for file syncing +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://seafile.com/ +## GITSOURCE https://github.com/haiwen/seafile.git v3.1.4 +Source: https://github.com/haiwen/seafile.git/v%{version}/seafile-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libccnet-devel +BuildRequires: libevent-devel +BuildRequires: libffi-devel +BuildRequires: libglib-devel +BuildRequires: libjansson-devel +BuildRequires: libopenssl-devel +BuildRequires: libpython-devel +BuildRequires: libsearpc-devel +BuildRequires: libselinux-devel +BuildRequires: libsqlite-devel +BuildRequires: libuuid-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Seafile is a next-generation open source cloud storage system with advanced support for file syncing, privacy protection and teamwork. +Collections of files are called libraries, and each library can be synced separately. A library can be encrypted with a user chosen password. This password is not stored on the server, so even the server admin cannot view a file's contents. +Seafile allows users to create groups with file syncing, wiki, and discussion to enable easy collaboration around documents within a team. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%package -n python-%{name} +Group: System/Libraries +Summary: Python bindings to %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: python-ccnet + +%description -n python-%{name} +This package contains python bindings to %{name}. + +%debug_package + +%prep +%setup -q + +%build +./autogen.sh +%configure +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/seaf-cli +%{_bindir}/seaf-daemon +%{_bindir}/seafile +%{_mandir}/man1/ccnet.1* +%{_mandir}/man1/seaf-cli.1* +%{_mandir}/man1/seaf-daemon.1* +%{_mandir}/man1/seafile-applet.1* + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libseafile.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/seafile +%{_includedir}/seafile/*.h +%{_libdir}/libseafile.a +%{_libdir}/libseafile.la +%{_libdir}/libseafile.so +%{_libdir}/pkgconfig/libseafile.pc +%doc README.markdown + +%files -n python-%{name} +%defattr(-,root,root) +%dir %{python_sitearch}/seafile +%{python_sitearch}/seafile/*.py* +%dir %{python_sitearch}/seaserv +%{python_sitearch}/seaserv/*.py* + +%changelog +* Tue Aug 05 2014 Silvan Calarco 3.1.4-1mamba +- package created using the webbuild interface