131 lines
3.8 KiB
RPMSpec
131 lines
3.8 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: seafile-client
|
|
Version: 9.0.2
|
|
Release: 1mamba
|
|
Summary: Seafile desktop client
|
|
Group: Graphical Desktop/Applications/Archiving
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.seafile.com/en/home/
|
|
Source: https://github.com/haiwen/seafile-client.git/v%{version}/seafile-client-%{version}.tar.bz2
|
|
Patch0: seafile-client-4.4.2-disable-latest-version-check.patch
|
|
Patch1: seafile-client-6.0.7-qt5-5.7.1.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libevent-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libjansson-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libseafile-devel
|
|
BuildRequires: libsearpc-devel
|
|
BuildRequires: libsqlite-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: seafile >= %majver
|
|
|
|
%description
|
|
Seafile desktop client.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0 -p1
|
|
%patch 1 -p1
|
|
sed -i "s| qmake | qmake-qt5 |" CMakeLists.txt
|
|
|
|
%build
|
|
%cmake
|
|
|
|
#\
|
|
# -DCMAKE_CXX_FLAGS="-fuse-ld=gold"
|
|
|
|
%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
|
|
* Fri Apr 28 2023 Automatic Build System <autodist@mambasoft.it> 9.0.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 22 2023 Automatic Build System <autodist@mambasoft.it> 9.0.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 20 2023 Automatic Build System <autodist@mambasoft.it> 9.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Dec 29 2022 Automatic Build System <autodist@mambasoft.it> 8.0.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Nov 19 2022 Automatic Build System <autodist@mambasoft.it> 8.0.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 26 2022 Automatic Build System <autodist@mambasoft.it> 8.0.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Nov 19 2021 Automatic Build System <autodist@mambasoft.it> 8.0.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Sep 16 2021 Automatic Build System <autodist@mambasoft.it> 8.0.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jun 28 2021 Automatic Build System <autodist@mambasoft.it> 8.0.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.0.1-1mamba
|
|
- update to 8.0.1
|
|
|
|
* Sat Sep 14 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.2-1mamba
|
|
- update to 7.0.2
|
|
|
|
* Tue Dec 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.9-1mamba
|
|
- update to 6.2.9
|
|
|
|
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.3-1mamba
|
|
- update to 6.1.3
|
|
|
|
* 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
|
|
|
|
* Tue Mar 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.2-1mamba
|
|
- update to 4.4.2
|
|
|
|
* Sun May 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.2-1mamba
|
|
- update to 4.2.2
|
|
|
|
* Tue May 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.1-1mamba
|
|
- update to 4.2.1
|
|
|
|
* Fri Jan 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.12-1mamba
|
|
- update to 3.1.12
|
|
|
|
* Mon Dec 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.11-1mamba
|
|
- update to 3.1.11
|
|
|
|
* Wed Aug 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.5-1mamba
|
|
- package created using the webbuild interface
|