Update to 7.0.7
[packages/seafile-client.git] / seafile-client.spec
CommitLineData
932a13f6
ER
1Summary: Seafile cloud storage desktop client
2Name: seafile-client
4f10f435 3Version: 7.0.7
714c1273 4Release: 1
932a13f6
ER
5License: Apache v2.0
6Group: Applications/Networking
7Source0: https://github.com/haiwen/seafile-client/archive/v%{version}/%{name}-%{version}.tar.gz
4f10f435 8# Source0-md5: d518b25f48526667f078c08793d512fc
932a13f6
ER
9URL: https://www.seafile.com/
10BuildRequires: Qt5Core-devel
932a13f6 11BuildRequires: Qt5DBus-devel
16cc0e4a
ER
12BuildRequires: Qt5Gui-devel
13BuildRequires: Qt5Network-devel
14BuildRequires: Qt5Test-devel
15BuildRequires: Qt5Widgets-devel
932a13f6
ER
16BuildRequires: bash
17BuildRequires: ccnet-devel
18BuildRequires: cmake
19BuildRequires: desktop-file-utils
20BuildRequires: jansson-devel
21BuildRequires: libsearpc-devel
16cc0e4a 22BuildRequires: libstdc++-devel
932a13f6
ER
23BuildRequires: libuuid-devel
24BuildRequires: openssl-devel
16cc0e4a 25BuildRequires: pkgconfig
932a13f6
ER
26BuildRequires: qt5-build
27BuildRequires: qt5-linguist
28BuildRequires: qt5-qmake
932a13f6
ER
29BuildRequires: rpmbuild(macros) >= 1.596
30BuildRequires: seafile-devel
16cc0e4a 31BuildRequires: sqlite3-devel
932a13f6
ER
32Requires: gtk-update-icon-cache
33Requires: hicolor-icon-theme
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37Seafile is a next-generation open source cloud storage system, with
38advanced support for file syncing, privacy protection and teamwork.
39
40Seafile allows users to create groups with file syncing, wiki, and
41discussion to enable easy collaboration around documents within a
42team.
43
44%prep
45%setup -q
46
47%build
48%cmake \
49 -Dqmake_executable:FILEPATH=/usr/bin/qmake-qt5 \
50 -DUSE_QT5=ON \
51 -DCMAKE_BUILD_TYPE=Release .
52
53%{__make}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/seafile.desktop
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post
66%update_icon_cache hicolor
67
68%postun
69%update_icon_cache hicolor
70
71%files
72%defattr(644,root,root,755)
73%doc README.md LICENSE
74%attr(755,root,root) %{_bindir}/seafile-applet
75%{_desktopdir}/seafile.desktop
76%{_pixmapsdir}/seafile.png
77%{_iconsdir}/hicolor/scalable/apps/seafile.svg
78%{_iconsdir}/hicolor/*/apps/seafile.png
This page took 0.084907 seconds and 4 git commands to generate.