]> git.pld-linux.org Git - packages/gtkpod.git/blob - gtkpod.spec
e7057f3e9b5ca89d45f7d240c1e2d36c100c7f03
[packages/gtkpod.git] / gtkpod.spec
1 Summary:        Graphical song management program for Apple's iPod
2 Summary(pl.UTF-8):      Graficzny menadżer utworów muzycznych dla urządzeń Apple iPod
3 Name:           gtkpod
4 Version:        2.0.2
5 Release:        1
6 License:        GPL/LGPL
7 Group:          X11/Applications/Multimedia
8 Source0:        http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
9 # Source0-md5:  a24d4b882fa1e71c486ee90d87c7ce45
10 Patch1:         desktop.patch
11 URL:            http://www.gtkpod.org/
12 BuildRequires:  flex
13 BuildRequires:  gettext-devel >= 0.11.0
14 BuildRequires:  gtk+2-devel >= 2:2.4.0
15 BuildRequires:  intltool
16 BuildRequires:  libglade2-devel >= 1:2.4.0
17 BuildRequires:  libgnomecanvas-devel
18 BuildRequires:  libgpod-devel >= 0.4.0
19 BuildRequires:  libid3tag-devel >= 0.15
20 BuildRequires:  perl-XML-Parser
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpm-pythonprov
23 BuildRequires:  rpmbuild(macros) >= 1.596
24 BuildRequires:  sed >= 4.0
25 Requires(post,postun):  gtk-update-icon-cache
26 Requires(post,postun):  hicolor-icon-theme
27 Requires:       mount
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Platform independent graphical song management program for Apple's
32 iPod. It allows you to upload songs and playlists to your iPod.
33
34 %description -l pl.UTF-8
35 Niezależne od platformy graficzny menadżer utworów muzycznych dla
36 urządzeń Apple iPod. Pozwala wgrywać pliki i listy utworów do iPoda.
37
38 %prep
39 %setup -q
40 %patch1 -p1
41 sed -ie 's!/usr/bin/awk!/bin/awk!g' scripts/ldif2vcf.sh
42
43 %build
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/gtkpod.svg
53
54 %find_lang %{name} --all-name
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 %update_icon_cache hicolor
61
62 %postun
63 %update_icon_cache hicolor
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc AUTHORS ChangeLog README TODOandBUGS.txt
68 %attr(755,root,root) %{_bindir}/%{name}
69 %{_mandir}/man1/%{name}.1*
70 %{_datadir}/%{name}
71 %{_desktopdir}/%{name}.desktop
72 %{_iconsdir}/hicolor/*/apps/%{name}.png
This page took 0.03554 seconds and 2 git commands to generate.