forked from pool/polari
Push GNOME 3.14.0 OBS-URL: https://build.opensuse.org/request/show/251950 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/polari?expand=0&rev=11
100 lines
3.0 KiB
RPMSpec
100 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package polari
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2013 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: polari
|
|
Version: 3.14.0
|
|
Release: 0
|
|
Summary: An IRC Client for GNOME
|
|
License: GPL-2.0+ and LGPL-2.1+
|
|
Group: Productivity/Networking/IRC
|
|
Url: http://wiki.gnome.org/Apps/Polari
|
|
Source0: http://download.gnome.org/sources/polari/3.14/%{name}-%{version}.tar.xz
|
|
BuildRequires: gjs
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: intltool >= 0.50.0
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.41.0
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.6
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.13.4
|
|
BuildRequires: pkgconfig(telepathy-glib)
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
Polari is a simple IRC Client that is designed to integrate seamlessly
|
|
with GNOME 3.
|
|
|
|
%package -n typelib-1_0-Polari-1_0
|
|
Summary: Client library for interacting with the Polari -- Introspection bindings
|
|
Group: System/Libraries
|
|
|
|
%description -n typelib-1_0-Polari-1_0
|
|
Polari is a simple IRC Client that is designed to integrate seamlessly
|
|
with GNOME 3.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
|
%suse_update_desktop_file org.gnome.Polari
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING NEWS
|
|
%{_bindir}/polari
|
|
%dir %{_datadir}/appdata
|
|
%{_datadir}/appdata/org.gnome.Polari.appdata.xml
|
|
%{_datadir}/applications/org.gnome.Polari.desktop
|
|
%{_datadir}/dbus-1/services/org.gnome.Polari.service
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.polari.gschema.xml
|
|
%{_datadir}/polari/
|
|
%dir %{_datadir}/icons/hicolor/512x512
|
|
%dir %{_datadir}/icons/hicolor/512x512/apps
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
%{_libdir}/polari/libpolari-1.0.so
|
|
|
|
%files -n typelib-1_0-Polari-1_0
|
|
%defattr(-,root,root)
|
|
%dir %{_libdir}/polari
|
|
%dir %{_libdir}/polari/girepository-1.0
|
|
%{_libdir}/polari/girepository-1.0/Polari-1.0.typelib
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|