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