2024-01-05 17:43:32 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-05 17:43:32 +01:00
|
|
|
Name: seafile-client
|
2024-01-05 17:43:32 +01:00
|
|
|
Version: 6.0.7
|
2024-01-05 17:43:32 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Seafile desktop client
|
|
|
|
Group: Graphical Desktop/Applications/Archiving
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://seafile.com
|
|
|
|
## GITSOURCE https://github.com/haiwen/seafile-client.git v3.1.5
|
|
|
|
Source: https://github.com/haiwen/seafile-client.git/v%{version}/seafile-client-%{version}.tar.bz2
|
2024-01-05 17:43:32 +01:00
|
|
|
Patch0: seafile-client-4.4.2-disable-latest-version-check.patch
|
2024-01-05 17:43:32 +01:00
|
|
|
Patch1: seafile-client-6.0.7-qt5-5.7.1.patch
|
2024-01-05 17:43:32 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libccnet-devel
|
2024-01-05 17:43:32 +01:00
|
|
|
BuildRequires: libevent-devel
|
2024-01-05 17:43:32 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libjansson-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-05 17:43:32 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-05 17:43:32 +01:00
|
|
|
BuildRequires: libseafile-devel
|
|
|
|
BuildRequires: libsearpc-devel
|
|
|
|
BuildRequires: libsqlite-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 17:43:32 +01:00
|
|
|
BuildRequires: libuuid-devel
|
2024-01-05 17:43:32 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-05 17:43:32 +01:00
|
|
|
Requires: seafile >= %majver
|
2024-01-05 17:43:32 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Seafile desktop client.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 17:43:32 +01:00
|
|
|
#%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
sed -i "s| qmake | qmake-qt5 |" CMakeLists.txt
|
2024-01-05 17:43:32 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/seafile-applet
|
|
|
|
%{_datadir}/applications/seafile.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/seafile.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/seafile.svg
|
|
|
|
%{_datadir}/pixmaps/seafile.png
|
|
|
|
%doc LICENSE
|
|
|
|
#%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:43:32 +01:00
|
|
|
* Wed Jul 12 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.7-1mamba
|
|
|
|
- update to 6.0.7
|
|
|
|
|
2024-01-05 17:43:32 +01:00
|
|
|
* Fri Apr 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.7-1mamba
|
|
|
|
- update to 5.0.7
|
|
|
|
|
2024-01-05 17:43:32 +01:00
|
|
|
* Tue Mar 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.2-1mamba
|
|
|
|
- update to 4.4.2
|
|
|
|
|
2024-01-05 17:43:32 +01:00
|
|
|
* Sun May 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.2-1mamba
|
|
|
|
- update to 4.2.2
|
|
|
|
|
2024-01-05 17:43:32 +01:00
|
|
|
* Tue May 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.1-1mamba
|
|
|
|
- update to 4.2.1
|
|
|
|
|
2024-01-05 17:43:32 +01:00
|
|
|
* Fri Jan 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.12-1mamba
|
|
|
|
- update to 3.1.12
|
|
|
|
|
2024-01-05 17:43:32 +01:00
|
|
|
* Mon Dec 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.11-1mamba
|
|
|
|
- update to 3.1.11
|
|
|
|
|
2024-01-05 17:43:32 +01:00
|
|
|
* Wed Aug 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.5-1mamba
|
|
|
|
- package created using the webbuild interface
|