gnome-internet-radio-locator.spec.in 4.45 KB
Newer Older
1 2 3
Name:           @PACKAGE@
Version:        @VERSION@
Release:        1%{?dist}
4
Summary:        GNOME Internet Radio Locator for GNOME 3
5
License:        GPLv3+
6 7 8 9 10 11
URL:            http://people.gnome.org/~ole/gnome-internet-radio-locator
Group:          Applications/Internet
Source:         http://people.gnome.org/~ole/%{name}/%{name}-%{version}.tar.xz

BuildRequires:  gtk3-devel
BuildRequires:  pango
12
BuildRequires:  libchamplain-devel
13 14 15 16 17
BuildRequires:  libxml2-devel
BuildRequires:  intltool
BuildRequires:  itstool
BuildRequires:  libappstream-glib
BuildRequires:  desktop-file-utils
18
BuildRequires:  geocode-glib-devel
19 20 21 22
BuildRequires:  gstreamer-devel
BuildRequires:  gstreamer1-plugins-bad-free-devel
BuildRequires:  gstreamer1-plugins-base-devel
Requires:       gstreamer1 >= 1.8.3
23 24
Requires:       gstreamer1-plugins-ugly-free >= 1.8.3
Requires:       geocode-glib >= 3.20.1
25 26

%description
27 28 29
GNOME Internet Radio Locator for GNOME 3 is a Free Software program
that allows you to easily locate and listen to Free Internet Radio
stations by broadcasters on the Internet with the help of a map.
30

31 32
GNOME Internet Radio Locator for GNOME 3 is developed on the GNOME
3 platform and it requires gstreamer 1.0 for playback.
33

34
Enjoy Free Internet Radio.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73

%prep
%setup -q

%build
%configure --with-recording --disable-silent-rules

%install
%make_install
%find_lang %{name} --with-man

%check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop

%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%files -f %{name}.lang
%doc AUTHORS DEBIAN NEWS README TODO ChangeLog
%license COPYING
%{_bindir}/gnome-internet-radio-locator
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_mandir}/man1/%{name}.1*

%changelog
74 75 76 77 78 79
* Sat Nov 25 2017 Ole Aamot <ole@gnome.org> - 1.0.2-1
- gnome-internet-radio-locator 1.0.2 build on Fedora Linux 26

* Mon Oct 23 2017 Ole Aamot <ole@gnome.org> - 1.0.1-1
- gnome-internet-radio-locator 1.0.1 build on Fedora Linux 26

80 81 82
* Sat Sep 16 2017 Ole Aamot <ole@gnome.org> - 1.0.0-1
- gnome-internet-radio-locator 1.0.0 build on Fedora Linux 26

Ole Aamot's avatar
Ole Aamot committed
83 84 85
* Sat Sep 02 2017 Ole Aamot <ole@gnome.org> - 0.9.0-1
- gnome-internet-radio-locator 0.9.0 build on Fedora Linux 26

86 87 88 89
* Sat Aug 12 2017 Ole Aamot <ole@gnome.org> - 0.8.0-1
- gnome-internet-radio-locator 0.8.0 build on Fedora Linux 26

* Fri Aug 04 2017 Ole Aamot <ole@gnome.org> - 0.7.0-1
Ole Aamot's avatar
Ole Aamot committed
90 91
- gnome-internet-radio-locator 0.7.0 build on Fedora Linux 26

92
* Wed Aug 02 2017 Ole Aamot <ole@gnome.org> - 0.6.2-1
93 94
- gnome-internet-radio-locator 0.6.2 build on Fedora Linux 26

95
* Tue Aug 01 2017 Ole Aamot <ole@gnome.org> - 0.6.1-1
96 97
- gnome-internet-radio-locator 0.6.1 build on Fedora Linux 26

98
* Wed Jul 19 2017 Ole Aamot <ole@gnome.org> - 0.6.0-1
99 100
- gnome-internet-radio-locator 0.6.0 build on Fedora Linux 25

101
* Tue Jul 18 2017 Ole Aamot <ole@gnome.org> - 0.5.3-1
Ole Aamot's avatar
Ole Aamot committed
102 103
- gnome-internet-radio-locator 0.5.3 build on Fedora Linux 25

104
* Tue Jul 18 2017 Ole Aamot <ole@gnome.org> - 0.5.2-1
105 106
- gnome-internet-radio-locator 0.5.2 build on Fedora Linux 25

107
* Mon Jul 17 2017 Ole Aamot <ole@gnome.org> - 0.5.1-1
108 109
- gnome-internet-radio-locator 0.5.1 build on Fedora Linux 25

110
* Sun Jul 09 2017 Ole Aamot <ole@gnome.org> - 0.5.0-1
111 112
- gnome-internet-radio-locator 0.5.0 build on Fedora Linux 25

113
* Tue Jun 27 2017 Ole Aamot <ole@gnome.org> - 0.4.0-1
114 115
- gnome-internet-radio-locator 0.4.0 build on Fedora Linux 25

116
* Sun Jun 18 2017 Ole Aamot <ole@gnome.org> - 0.3.0-1
Ole Aamot's avatar
Ole Aamot committed
117 118
- gnome-internet-radio-locator 0.3.0 build on Fedora Linux 25

119
* Sat Jun 17 2017 Ole Aamot <ole@gnome.org> - 0.2.1-1
Ole Aamot's avatar
Ole Aamot committed
120 121
- gnome-internet-radio-locator 0.2.1 build on Fedora Linux 25

122
* Fri Jun 16 2017 Ole Aamot <ole@gnome.org> - 0.2.0-1
Ole Aamot's avatar
Ole Aamot committed
123 124
- gnome-internet-radio-locator 0.2.0 build on Fedora Linux 25

125
* Thu Apr 27 2017 Ole Aamot <ole@gnome.org> - 0.1.2-1
Ole Aamot's avatar
Ole Aamot committed
126
- gnome-internet-radio-locator 0.1.2 build on Fedora Linux 25
Ole Aamot's avatar
Ole Aamot committed
127

128
* Thu Apr 27 2017 Ole Aamot <ole@gnome.org> - 0.1.1-1
Ole Aamot's avatar
Ole Aamot committed
129
- gnome-internet-radio-locator 0.1.1 build on Fedora Linux 25
Ole Aamot's avatar
Ole Aamot committed
130

131
* Wed Apr 26 2017 Ole Aamot <ole@gnome.org> - 0.1.0-1
Ole Aamot's avatar
Ole Aamot committed
132
- gnome-internet-radio-locator 0.1.0 build on Fedora Linux 25