%global _hardened_build 1 Name: seafile Version: 6.2.4 Release: 1%{?dist} Summary: Cloud storage cli client License: GPLv2 URL: http://seafile.com/ Source0: https://github.com/haiwen/%{name}/archive/v%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: intltool BuildRequires: glib2-devel BuildRequires: sqlite-devel BuildRequires: openssl-devel BuildRequires: libuuid-devel BuildRequires: libcurl-devel BuildRequires: libarchive-devel BuildRequires: fuse-devel >= 2.7.3 BuildRequires: vala BuildRequires: python2-devel BuildRequires: libevent-devel BuildRequires: jansson-devel BuildRequires: libsearpc-devel >= 1.0.0 %description Seafile is a next-generation open source cloud storage system with advanced support for file syncing, privacy protection and teamwork. Seafile allows users to create groups with file syncing, wiki, and discussion to enable easy collaboration around documents within a team. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: glib2-devel Requires: libsearpc-devel >= 1.0.0 %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q v%{version} sed -i -e /\(DESTDIR\)/d lib/libseafile.pc.in %build ./autogen.sh %configure --disable-static make CFLAGS="%{optflags}" %{?_smp_mflags} %install make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name 'seafile.desktop' -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %files %doc README.markdown %license LICENSE.txt %{python2_sitearch}/%{name}/ %{python2_sitearch}/seafile/ %{_libdir}/lib%{name}.so.* %{_bindir}/seaf-cli %{_bindir}/seaf-daemon %{_mandir}/man1/*.1.* %files devel %doc README.markdown %license LICENSE.txt %{_includedir}/%{name}/ %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/lib%{name}.pc %changelog * Sun Sep 09 2018 Philipp Kerling - 6.2.4-1 - Update to 6.2.4 * Wed Aug 01 2018 Julien Enselme - 6.2.3-2 - Correct ccnet requirement * Wed Aug 01 2018 Julien Enselme - 6.2.3-1 - Update to 6.2.3 * Sat Jul 14 2018 Fedora Release Engineering - 6.1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 13 2018 Julien Enselme - 6.1.6-1 - Update to 6.1.6 * Fri Feb 09 2018 Fedora Release Engineering - 6.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Dec 27 2017 Julien Enselme - 6.1.4-1 - Update to 6.1.4 * Mon Nov 06 2017 Julien Enselme - 6.1.3-1 - Update to 6.1.3 * Thu Aug 10 2017 Julien Enselme - 6.1.0-1 - Update to 6.1.0 * Thu Aug 03 2017 Fedora Release Engineering - 6.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 6.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun May 07 2017 Julien Enselme - 6.0.6-1 - Update to 6.0.6 - Build with openSSL 1.0 * Tue Mar 07 2017 Julien Enselme - 6.0.4-2 - Correct name of the python package * Tue Mar 07 2017 Julien Enselme - 6.0.4-1 - Update to 6.0.4 * Sat Feb 11 2017 Fedora Release Engineering - 6.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Oct 30 2016 Julien Enselme - 6.0.0-2 - Compile against compat-openssl10 until it is compatible with OpenSSL 1.1 * Sun Oct 30 2016 Julien Enselme - 6.0.0-1 - Update to 6.0.0 - Unretire package * Tue Jul 19 2016 Fedora Release Engineering - 5.1.2-4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Tue May 31 2016 Nikos Roussos - 5.1.2-3 - Fix license * Fri May 27 2016 Nikos Roussos - 5.1.2-2 - Fix shared libraries * Tue May 17 2016 Nikos Roussos - 5.1.2-1 - Update to 5.1.2 - Add missing requiremnts - Add missing license file from subpackage - Add tests * Mon Feb 08 2016 Nikos Roussos - 5.0.5-1 - Update to 5.0.5 * Wed Sep 16 2015 Nikos Roussos - 4.3.4-1 - Update to 4.3.4 * Sat Apr 11 2015 Nikos Roussos - 4.1.4-1 - Update to 4.1.4 - Hardened build * Wed Nov 05 2014 Nikos Roussos - 3.1.8-1 - Update to 3.1.8 * Thu Aug 28 2014 Nikos Roussos - 3.1.4-1 - Initial version of the package