File california.spec of Package california

#
# spec file for package california
#
# Copyright (c) 2014 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/
#


Name:           california
Version:        0.2.0
Release:        0
Summary:        Calendar for GNOME 3
License:        LGPL-2.1+
Group:          Productivity/Office/Organizers
Url:            https://wiki.gnome.org/Apps/California
Source:         http://download.gnome.org/sources/california/0.2/%{name}-%{version}.tar.xz
BuildRequires:  desktop-file-utils
BuildRequires:  intltool >= 0.35.0
BuildRequires:  vala >= 0.24.0
BuildRequires:  yelp-tools
BuildRequires:  pkgconfig(gee-0.8) >= 0.10.5
BuildRequires:  pkgconfig(glib-2.0) >= 2.38.0
BuildRequires:  pkgconfig(goa-1.0) >= 3.8.3
BuildRequires:  pkgconfig(gobject-2.0) >= 2.38.0
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.38.0
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.12.2
BuildRequires:  pkgconfig(libecal-1.2) >= 3.8.5
BuildRequires:  pkgconfig(libgdata) >= 0.14.0
BuildRequires:  pkgconfig(libsoup-2.4) >= 2.44
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Recommends:     %{name}-lang
%glib2_gio_module_requires

%description
California is a calendar built for GNOME 3.  It allows you to view and
manage your online calendars with a simple and modern interface.

%lang_package
%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%find_lang %{name}
# We take care of those docs by ourselves
rm -rf %{buildroot}%{_prefix}/doc/california

%post
%desktop_database_post
%glib2_gsettings_schema_post

%postun
%desktop_database_postun
%glib2_gsettings_schema_postun

%files
%defattr(-,root,root)
%doc AUTHORS README COPYING NEWS
%{_bindir}/california
%dir %{_datadir}/appdata
%{_datadir}/%{name}
%{_datadir}/appdata/california.appdata.xml
%{_datadir}/applications/california.desktop
%{_datadir}/glib-2.0/schemas/org.yorba.california.gschema.xml

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by