LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File seafile-client.spec of Package seafile-client (Project home:steffenp)

#
# spec file for package [spectemplate]
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild

Name:           seafile-client
Version:        3.1.7
Release:        0
Summary:        File synchronization and collaboration platform for teams
Group:		Productivity/Databases/Clients
License:        GPLv3
URL:            https://github.com/haiwen/seafile-client/tree/v3.1.7
Source0:        seafile-client-3.1.7.tar.gz

BuildRequires:  autoconf automake libtool libjansson-devel libsearpc-devel ccnet-devel cmake libqt4-devel seafile-devel
BuildRequires:	libevent-devel libQtWebKit-devel

%description
Seafile desktop client

%package        devel
Summary:        Development files for %{name}
Requires:       %{name} = %{version}-%{release}

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%prep
%setup -q

%build


cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
make %{?_smp_mflags}


%install
%make_install
make install DESTDIR=%{buildroot}

%clean
make clean

%files
%defattr(-,root,root)
/usr/bin/seafile-applet
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*/apps
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/hicolor/*
%{_datadir}/icons/hicolor
%{_datadir}/pixmaps/*


%files devel
%defattr(-,root,root)
#%{_includedir}/*

%changelog
Mon Okt 27 10:58:09 UTC 2014 - steffenp
- initial version 3.1.7