File owncloud-apps-mozilla_sync.spec of Package owncloud-apps-mozilla_sync

#
# spec file for package owncloud-apps-mozilla_sync
#
# Copyright (c) 2015 Lars Vogdt <lars@linux-schulserver.de>
#
# 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/
#

Name:           owncloud-apps-mozilla_sync
%define         owncloud_name 161793-mozilla_sync-1.4
%define         real_name mozilla_sync
%define         install_dir /srv/www/htdocs/owncloud
Version:        1.4
Release:        0
License:        AGPL-1.0
Summary:        Mozilla Sync for Owncloud
Url:            https://apps.owncloud.com/content/show.php/Mozilla+Sync?content=161793
Group:          Productivity/Networking/Web/Utilities
Source:         %{owncloud_name}.zip
BuildRequires:  unzip
Requires:       owncloud >= 8.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Mozilla Sync is a simple ownCloud app integrating the Mozilla Sync API in an
ownCloud server. It allows users to synchronize Firefox data (e.g. bookmarks,
passwords, history,...) using their ownCloud server. This app is a fork of
mjaskurzynski's mozilla_sync app, which was not developed anymore.

Please look at the README.md and inside the docs/ folder for setup
instructions, hints and configuration options.

%prep
%setup -q -n %{real_name}

%build
#
%install
mkdir -p %{buildroot}%{install_dir}/apps/%{real_name}
cp -r * %{buildroot}%{install_dir}/apps/%{real_name}/

%files
%defattr(0640,root,www,0750)
%dir %{install_dir}
%dir %{install_dir}/apps
%dir %{install_dir}/apps/%{real_name}
%{install_dir}/apps/%{real_name}/*

%changelog
openSUSE Build Service is sponsored by