File girl.spec of Package girl

#
# spec file for package girl
#
# Copyright (c) 2018 SUSE LINUX 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:           girl
Version:        10.0.0
Release:        0
Summary:        Find live radio programs on radio broadcasters on the Internet
License:        GPL-2.0-or-later
Group:          Productivity/Multimedia/Sound/Utilities
URL:            https://people.gnome.org/~ole/girl/
Source:         http://download.gnome.org/sources/girl/10.0/%{name}-%{version}.tar.xz
BuildRequires:  desktop-file-utils
BuildRequires:  fdupes
BuildRequires:  hicolor-icon-theme
BuildRequires:  intltool
BuildRequires:  itstool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(glib-2.0) >= 2.40
BuildRequires:  pkgconfig(gnome-vfs-2.0) >= 2.0
BuildRequires:  pkgconfig(gobject-2.0) >= 2.38.0
BuildRequires:  pkgconfig(gstreamer-1.0) >= 1.12.0
BuildRequires:  pkgconfig(gstreamer-player-1.0) >= 1.12.0
BuildRequires:  pkgconfig(gstreamer-tag-1.0) >= 1.12.0
BuildRequires:  pkgconfig(gstreamer-video-1.0) >= 1.12.0
BuildRequires:  pkgconfig(gtk+-2.0) >= 2.0
BuildRequires:  pkgconfig(libgnome-2.0) >= 2.0
BuildRequires:  pkgconfig(libgnomeui-2.0) >= 2.0
BuildRequires:  pkgconfig(libxml-2.0) >= 2.0
Recommends:     %{name}-lang

%description
GNOME Internet Radio Locator (GIRL) is a program that allows the user
to locate live radio programs by broadcasters on the Internet.

GIRL is developed on the GNOME platform and it requires gstreamer for
playback.

%lang_package

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%make_install %{?_smp_mflags}
%find_lang %{name} %{?no_lang_C} girl.lang
%fdupes %{buildroot}%{_datadir}/%{name}/
%fdupes %{buildroot}%{_datadir}/help/

%post
%icon_theme_cache_post
%desktop_database_post

%postun
%icon_theme_cache_postun
%desktop_database_postun

%files
%license COPYING
%doc AUTHORS ChangeLog README THANKS NEWS LETTER
%{_bindir}/girl
%{_datadir}/girl/
%{_datadir}/applications/%{name}.desktop
%dir %{_datadir}/icons/hicolor/1024x1024
%dir %{_datadir}/icons/hicolor/1024x1024/apps
%{_datadir}/icons/hicolor/*/apps/*.png
%dir %{_datadir}/appdata
%{_datadir}/appdata/*.xml
%{_mandir}/man1/girl.1%{?ext_man}
%{_datadir}/help/C/girl/

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by