]> git.pld-linux.org Git - packages/seafile-client.git/commitdiff
new, version 5.1.1 auto/th/seafile-client-5.1.1-1
authorElan Ruusamäe <glen@delfi.ee>
Tue, 7 Jun 2016 20:50:13 +0000 (23:50 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 7 Jun 2016 20:50:13 +0000 (23:50 +0300)
based on fedora package, afca6c2

seafile-client.spec [new file with mode: 0644]

diff --git a/seafile-client.spec b/seafile-client.spec
new file mode 100644 (file)
index 0000000..4ace558
--- /dev/null
@@ -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
This page took 0.062599 seconds and 4 git commands to generate.