From 932a13f6ef9a1350bcfbe51fe624bbab5db3765d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 7 Jun 2016 23:50:13 +0300 Subject: [PATCH] new, version 5.1.1 based on fedora package, afca6c2 --- seafile-client.spec | 76 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 seafile-client.spec diff --git a/seafile-client.spec b/seafile-client.spec new file mode 100644 index 0000000..4ace558 --- /dev/null +++ b/seafile-client.spec @@ -0,0 +1,76 @@ +Summary: Seafile cloud storage desktop client +Name: seafile-client +Version: 5.1.1 +Release: 1 +License: Apache v2.0 +Group: Applications/Networking +Source0: https://github.com/haiwen/seafile-client/archive/v%{version}/%{name}-%{version}.tar.gz +# Source0-md5: c1efe86775068aa9f42125bf70192931 +URL: https://www.seafile.com/ +BuildRequires: Qt5Core-devel +BuildRequires: Qt5WebKit-devel +BuildRequires: Qt5Test-devel +BuildRequires: Qt5DBus-devel +BuildRequires: appstream-glib +BuildRequires: bash +BuildRequires: ccnet-devel +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: jansson-devel +BuildRequires: libsearpc-devel +BuildRequires: libuuid-devel +BuildRequires: openssl-devel +BuildRequires: qt5-build +BuildRequires: qt5-linguist +BuildRequires: qt5-qmake +BuildRequires: qt5-qttools +BuildRequires: rpmbuild(macros) >= 1.596 +BuildRequires: seafile-devel +BuildRequires: sqlite-devel +Requires: gtk-update-icon-cache +Requires: hicolor-icon-theme +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Seafile is a next-generation open source cloud storage system, with +advanced support for file syncing, privacy protection and teamwork. + +Seafile allows users to create groups with file syncing, wiki, and +discussion to enable easy collaboration around documents within a +team. + +%prep +%setup -q + +%build +%cmake \ + -Dqmake_executable:FILEPATH=/usr/bin/qmake-qt5 \ + -DUSE_QT5=ON \ + -DCMAKE_BUILD_TYPE=Release . + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/seafile.desktop + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%update_icon_cache hicolor + +%postun +%update_icon_cache hicolor + +%files +%defattr(644,root,root,755) +%doc README.md LICENSE +%attr(755,root,root) %{_bindir}/seafile-applet +%{_desktopdir}/seafile.desktop +%{_pixmapsdir}/seafile.png +%{_iconsdir}/hicolor/scalable/apps/seafile.svg +%{_iconsdir}/hicolor/*/apps/seafile.png -- 2.43.0