]> git.pld-linux.org Git - packages/gmpc.git/blob - gmpc.spec
- drop Humanity icons
[packages/gmpc.git] / gmpc.spec
1 # TODO:
2 # package Humanity icons
3 #
4 Summary:        Gnome Music Player Client
5 Summary(pl.UTF-8):      Odtwarzacz Gnome Music Player Client
6 Name:           gmpc
7 Version:        0.20.0
8 Release:        3
9 License:        GPL v2+
10 Group:          X11/Applications/Sound
11 Source0:        http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.gz
12 # Source0-md5:  902fd69b0b6bb40abb647604080dd7ef
13 Patch0:         %{name}-desktop.patch
14 URL:            http://gmpc.wikia.com
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake
17 BuildRequires:  curl-devel
18 BuildRequires:  gettext-devel
19 BuildRequires:  glib2-devel >= 1:2.16.0
20 BuildRequires:  gob2 >= 2.0.17
21 BuildRequires:  gtk+2-devel >= 2:2.12.0
22 BuildRequires:  intltool
23 BuildRequires:  libglade2-devel
24 BuildRequires:  libmpd-devel >= 0.19.2
25 BuildRequires:  libsexy-devel
26 BuildRequires:  libsoup-devel
27 BuildRequires:  libtool
28 BuildRequires:  libxspf-devel
29 BuildRequires:  pkgconfig >= 0.9
30 BuildRequires:  rpmbuild(macros) >= 1.311
31 BuildRequires:  sqlite3-devel
32 BuildRequires:  vala >= 0.7.10
33 BuildRequires:  xorg-lib-libSM-devel
34 %requires_eq    libmpd
35 Requires(post,postun):  gtk+2
36 Obsoletes:      gmpc-plugin-favorites
37 Obsoletes:      gmpc-plugin-serverstats
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 GMPC is a frontend for the mpd (Music Player Daemon). It's focused on
42 being fast and easy to use, while making optimal use of all the
43 functions in mpd. The latest release (0.13) features plugin support so
44 it can be easily extended where needed, plugins can range from showing
45 a small osd window to adding an extra view in the playlist browser.
46
47 %description -l pl.UTF-8
48 GMPC to frontend dla mpd (Music Player Daemon). Skupia się na byciu
49 najszybszym i prostym w użyciu, a jednocześnie optymalnym
50 wykorzystywaniu wszystkich funkcji mpd. Ostatnie wydanie (0.13) ma
51 obsługę wtyczek, więc można go łatwo rozszerzać w miarę potrzeby;
52 wtyczki mogą obsługiwać funkcjonalność od wyświetlania małego okienka
53 na ekranie do dodawania dodatkowego widoku do przeglądarki playlist.
54
55 %package devel
56 Summary:        Header files for GMPC plugin developement
57 Summary(pl.UTF-8):      Pliki nagłówkowe do tworzenia wtyczek dla GMPC
58 Group:          Development/Libraries
59 Requires:       %{name} = %{version}-%{release}
60 Requires:       libmpd-devel >= 0.19.0
61
62 %description devel
63 Header files for GMPC plugin developement.
64
65 %description devel -l pl.UTF-8
66 Pliki nagłówkowe do tworzenia wtyczek dla GMPC.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71
72 %build
73 %{__intltoolize}
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__autoheader}
78 %{__automake}
79
80 RC=no \
81 %configure \
82         --enable-system-libsexy
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 install -d $RPM_BUILD_ROOT{%{_libdir}/%{name}/plugins,%{_datadir}/%{name}/plugins}
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 # drop javanese translation, need glibc support first
94 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/jv
95
96 %find_lang gmpc
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %post
102 %update_icon_cache hicolor
103
104 %postun
105 %update_icon_cache hicolor
106
107 %files -f gmpc.lang
108 %defattr(644,root,root,755)
109 %doc AUTHORS README
110 %attr(755,root,root) %{_bindir}/gmpc
111 %attr(755,root,root) %{_bindir}/gmpc-remote
112 %attr(755,root,root) %{_bindir}/gmpc-remote-stream
113 %{_desktopdir}/gmpc.desktop
114 %{_datadir}/%{name}
115 %{_libdir}/%{name}
116 %{_iconsdir}/hicolor/16x16/apps/gmpc.png
117 %{_iconsdir}/hicolor/22x22/apps/gmpc.png
118 %{_iconsdir}/hicolor/32x32/apps/gmpc.png
119 %{_iconsdir}/hicolor/48x48/apps/gmpc.png
120 %{_iconsdir}/hicolor/64x64/apps/gmpc.png
121 %{_iconsdir}/hicolor/72x72/apps/gmpc.png
122 %{_iconsdir}/hicolor/96x96/apps/gmpc.png
123 %{_iconsdir}/hicolor/128x128/apps/gmpc.png
124 %{_iconsdir}/hicolor/scalable/apps/gmpc.svg
125 #%{_iconsdir}/Humanity/16x16/apps/gmpc.png
126 #%{_iconsdir}/Humanity/22x22/apps/gmpc.png
127 #%{_iconsdir}/Humanity/24x24/apps/gmpc.png
128 #%{_iconsdir}/Humanity/32x32/apps/gmpc.png
129 #%{_iconsdir}/Humanity/48x48/apps/gmpc.png
130 #%{_iconsdir}/Humanity/64x64/apps/gmpc.png
131 #%{_iconsdir}/Humanity/72x72/apps/gmpc.png
132 #%{_iconsdir}/Humanity/96x96/apps/gmpc.png
133 #%{_iconsdir}/Humanity/128x128/apps/gmpc.png
134 #%{_iconsdir}/Humanity/scalable/apps/gmpc.svg
135 %{_mandir}/man1/gmpc-remote.1*
136 %{_mandir}/man1/gmpc.1*
137
138 %files devel
139 %defattr(644,root,root,755)
140 %{_includedir}/gmpc
141 %{_pkgconfigdir}/gmpc.pc
This page took 0.290172 seconds and 3 git commands to generate.