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