]> git.pld-linux.org Git - SPECS.git/blob - last-exit.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / last-exit.spec
1 #
2 #
3 Summary:        GTK+ Last.fm player
4 Summary(pl.UTF-8):      Odtwarzacz Last.fm dla GTK+
5 Name:           last-exit
6 Version:        6
7 Release:        4
8 License:        GPL v2+
9 Group:          X11/Applications/Multimedia
10 Source0:        http://lastexit-player.org/releases/%{name}-%{version}.tar.bz2
11 # Source0-md5:  ef0bffe352073b7663441aa9b80237b1
12 Patch0:         %{name}-exec.patch
13 Patch1:         %{name}-desktop.patch
14 URL:            http://lastexit-player.org/
15 BuildRequires:  GConf2-devel >= 2.14.0
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  dbus-glib-devel >= 0.71
19 BuildRequires:  dotnet-gnome-sharp-devel >= 2.15.0
20 BuildRequires:  dotnet-ndesk-dbus-glib-sharp-devel >= 0.4.1
21 BuildRequires:  gettext-tools
22 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.9
23 BuildRequires:  intltool
24 BuildRequires:  libsexy-devel >= 0.1.5
25 BuildRequires:  libtool
26 BuildRequires:  mono-csharp >= 1.1.16.1
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(macros) >= 1.176
29 Requires(post,postun):  gtk-update-icon-cache
30 Requires(post,postun):  hicolor-icon-theme
31 Requires(post,preun):   GConf2 >= 2.14.0
32 Requires:       dotnet-gnome-sharp >= 2.16.0
33 Requires:       dotnet-gtk-sharp2 >= 2.10.0
34 Requires:       gstreamer-audio-effects-base >= 0.10.9
35 Requires:       gstreamer-audio-formats >= 0.10.4
36 Requires:       gstreamer-audiosink
37 Requires:       mono
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 Last Exit is a player for Last.fm.
42
43 %description -l pl.UTF-8
44 Last Exit to odtwarzacz Last.fm.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52 %{__libtoolize}
53 %{__intltoolize}
54 %{__aclocal}
55 %{__autoconf}
56 %{__autoheader}
57 %{__automake}
58
59 %configure \
60         --disable-static
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 %gconf_schema_install last-exit.schemas
78 %gconf_schema_install lastfm.schemas
79 %update_icon_cache hicolor
80
81 %preun
82 %gconf_schema_uninstall last-exit.schemas
83 %gconf_schema_uninstall lastfm.schemas
84
85 %postun
86 %update_icon_cache hicolor
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS README
91 %attr(755,root,root) %{_bindir}/*
92 %dir %{_libdir}/%{name}
93 %attr(755,root,root) %{_libdir}/%{name}/*.exe*
94 %attr(755,root,root) %{_libdir}/%{name}/*.so
95 %attr(755,root,root) %{_libdir}/%{name}/*.dll
96 %{_sysconfdir}/gconf/schemas/last-exit.schemas
97 %{_sysconfdir}/gconf/schemas/lastfm.schemas
98 %{_desktopdir}/*.desktop
99 %{_iconsdir}/*/*/apps/last-exit*
100 %dir %{_datadir}/%{name}
101 %{_datadir}/%{name}/icons
This page took 0.497779 seconds and 3 git commands to generate.