File corebird.spec of Package corebird
#
# spec file for package corebird
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013-2014 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# 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: corebird
Version: 1.0.1
Release: 0
Summary: A lightweight Twitter Client
License: GPL-3.0+
Group: Productivity/Networking/Other
Url: http://corebird.baedert.org/
#Source: https://github.com/baedert/corebird/archive/%%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: update-desktop-files
BuildRequires: vala-devel >= 0.21.1
BuildRequires: pkgconfig(gdk-x11-3.0)
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.40
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.14
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(rest-0.7)
BuildRequires: pkgconfig(sqlite3)
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Native Twitter client, integrating into GNOME 3.
%lang_package
%prep
%setup -q
%build
NOCONFIGURE=1 ./autogen.sh
%configure
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file org.baedert.corebird X-SuSE-Core-Internet
%find_lang %{name} %{?no_lang_C}
%post
%glib2_gsettings_schema_post
%icon_theme_cache_post
%desktop_database_post
%postun
%glib2_gsettings_schema_postun
%icon_theme_cache_postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/%{name}
%{_datadir}/%{name}/
%dir %{_datadir}/appdata
%{_datadir}/appdata/org.baedert.corebird.appdata.xml
%{_datadir}/applications/org.baedert.corebird.desktop
%{_datadir}/dbus-1/services/org.baedert.corebird.service
%{_datadir}/glib-2.0/schemas/org.baedert.corebird.gschema.xml
%{_datadir}/icons/hicolor/
%{_mandir}/man1/%{name}.1%{?ext_man}
%files lang -f %{name}.lang
%changelog