]> git.pld-linux.org Git - packages/seafile-client.git/blame_incremental - seafile-client.spec
- up to 8.0.4
[packages/seafile-client.git] / seafile-client.spec
... / ...
CommitLineData
1Summary: Seafile cloud storage desktop client
2Name: seafile-client
3Version: 8.0.4
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: f1962a9033be781bf68acccc43c895ea
9Patch0: unknowwn-errors.patch
10URL: https://www.seafile.com/
11BuildRequires: Qt5Core-devel
12BuildRequires: Qt5DBus-devel
13BuildRequires: Qt5Gui-devel
14BuildRequires: Qt5Network-devel
15BuildRequires: Qt5Test-devel
16BuildRequires: Qt5Widgets-devel
17BuildRequires: bash
18BuildRequires: ccnet-devel
19BuildRequires: cmake
20BuildRequires: desktop-file-utils
21BuildRequires: jansson-devel
22BuildRequires: libsearpc-devel
23BuildRequires: libstdc++-devel
24BuildRequires: libuuid-devel
25BuildRequires: openssl-devel
26BuildRequires: pkgconfig
27BuildRequires: qt5-build
28BuildRequires: qt5-linguist
29BuildRequires: qt5-qmake
30BuildRequires: rpmbuild(macros) >= 1.596
31BuildRequires: seafile-devel
32BuildRequires: sqlite3-devel
33Requires: gtk-update-icon-cache
34Requires: hicolor-icon-theme
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38Seafile is a next-generation open source cloud storage system, with
39advanced support for file syncing, privacy protection and teamwork.
40
41Seafile allows users to create groups with file syncing, wiki, and
42discussion to enable easy collaboration around documents within a
43team.
44
45%prep
46%setup -q
47%patch0 -p1
48
49%build
50mkdir -p build
51cd build
52%cmake ../ \
53 -DCMAKE_C_FLAGS="%{rpmcflags}" \
54 -DCMAKE_CXX_FLAGS="%{rpmcxxflags}" \
55 -Dqmake_executable:FILEPATH=/usr/bin/qmake-qt5 \
56 -DUSE_QT5=ON \
57 -DCMAKE_BUILD_TYPE=Release .
58
59%{__make}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63%{__make} -C build install \
64 DESTDIR=$RPM_BUILD_ROOT
65
66desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/seafile.desktop
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%post
72%update_icon_cache hicolor
73
74%postun
75%update_icon_cache hicolor
76
77%files
78%defattr(644,root,root,755)
79%doc README.md LICENSE
80%attr(755,root,root) %{_bindir}/seafile-applet
81%{_desktopdir}/seafile.desktop
82%{_pixmapsdir}/seafile.png
83%{_iconsdir}/hicolor/scalable/apps/seafile.svg
84%{_iconsdir}/hicolor/*/apps/seafile.png
This page took 0.078984 seconds and 4 git commands to generate.