]>
Commit | Line | Data |
---|---|---|
229eb4ac | 1 | Summary: Graphical song management program for Apple's iPod |
7db8f850 | 2 | Summary(pl.UTF-8): Graficzny menadżer utworów muzycznych dla urządzeń Apple iPod |
229eb4ac | 3 | Name: gtkpod |
3ab4ce79 | 4 | Version: 2.1.0 |
888ef72c | 5 | Release: 1 |
229eb4ac | 6 | License: GPL/LGPL |
0171d808 | 7 | Group: X11/Applications/Multimedia |
050337f8 | 8 | Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz |
3ab4ce79 | 9 | # Source0-md5: 8e01f7cf2db1a421140eab561aee26d7 |
050337f8 | 10 | Patch1: desktop.patch |
888ef72c | 11 | URL: http://www.gtkpod.org/ |
f74a40c8 | 12 | BuildRequires: flex |
3ab4ce79 | 13 | BuildRequires: gdl-devel >= 3.0.0 |
229eb4ac | 14 | BuildRequires: gettext-devel >= 0.11.0 |
3ab4ce79 ER |
15 | BuildRequires: glib2-devel >= 1:2.28.5 |
16 | BuildRequires: gtk+3-devel >= 3.0.11 | |
e432ad05 | 17 | BuildRequires: intltool |
3ab4ce79 | 18 | BuildRequires: libanjuta-devel >= 1:3.0 |
4fd2526a | 19 | BuildRequires: libglade2-devel >= 1:2.4.0 |
28b8c4f2 | 20 | BuildRequires: libgnomecanvas-devel |
2c775679 | 21 | BuildRequires: libgpod-devel >= 0.4.0 |
7c82800f | 22 | BuildRequires: libid3tag-devel >= 0.15 |
3ab4ce79 | 23 | BuildRequires: libxml2-devel >= 2.7.7 |
0672fb2a | 24 | BuildRequires: perl-XML-Parser |
f74a40c8 | 25 | BuildRequires: pkgconfig |
a6f51d43 | 26 | BuildRequires: rpm-pythonprov |
050337f8 | 27 | BuildRequires: rpmbuild(macros) >= 1.596 |
6a35ccc2 | 28 | BuildRequires: sed >= 4.0 |
f529107f AF |
29 | Requires(post,postun): gtk-update-icon-cache |
30 | Requires(post,postun): hicolor-icon-theme | |
3ab4ce79 | 31 | Requires(post,postun): glib2 >= 1:2.26.0 |
229eb4ac MK |
32 | Requires: mount |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | Platform independent graphical song management program for Apple's | |
37 | iPod. It allows you to upload songs and playlists to your iPod. | |
38 | ||
8853500f JR |
39 | %description -l pl.UTF-8 |
40 | Niezależne od platformy graficzny menadżer utworów muzycznych dla | |
41 | urządzeń Apple iPod. Pozwala wgrywać pliki i listy utworów do iPoda. | |
229eb4ac MK |
42 | |
43 | %prep | |
44 | %setup -q | |
050337f8 | 45 | %patch1 -p1 |
3ab4ce79 | 46 | %{__sed} -i -e 's!/usr/bin/awk!/bin/awk!g' scripts/ldif2vcf.sh |
229eb4ac MK |
47 | |
48 | %build | |
3ab4ce79 ER |
49 | %configure \ |
50 | --disable-static | |
229eb4ac MK |
51 | %{__make} |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
229eb4ac MK |
55 | %{__make} install \ |
56 | DESTDIR=$RPM_BUILD_ROOT | |
a68b3778 | 57 | |
3ab4ce79 ER |
58 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/gtkpod.svg |
59 | ||
60 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
61 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gtkpod/*.la | |
62 | ||
63 | # no -devel | |
64 | %{__rm} -r $RPM_BUILD_ROOT%{_includedir} | |
65 | %{__rm} $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc | |
66 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkpod.so | |
229eb4ac MK |
67 | |
68 | %find_lang %{name} --all-name | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
050337f8 ER |
73 | %post |
74 | %update_icon_cache hicolor | |
3ab4ce79 | 75 | %glib_compile_schemas |
050337f8 ER |
76 | |
77 | %postun | |
78 | %update_icon_cache hicolor | |
3ab4ce79 ER |
79 | %postun |
80 | if [ "$1" = "0" ]; then | |
81 | %glib_compile_schemas | |
82 | fi | |
050337f8 | 83 | |
229eb4ac MK |
84 | %files -f %{name}.lang |
85 | %defattr(644,root,root,755) | |
b4b505ff | 86 | %doc AUTHORS ChangeLog README TODOandBUGS.txt |
050337f8 | 87 | %attr(755,root,root) %{_bindir}/%{name} |
3ab4ce79 ER |
88 | %attr(755,root,root) %{_libdir}/libgtkpod.so.*.*.* |
89 | %ghost %{_libdir}/libgtkpod.so.1 | |
050337f8 | 90 | %{_mandir}/man1/%{name}.1* |
3ab4ce79 ER |
91 | %dir %{_datadir}/%{name} |
92 | %{_datadir}/glib-2.0/schemas/org.gtkpod.gschema.xml | |
050337f8 ER |
93 | %{_desktopdir}/%{name}.desktop |
94 | %{_iconsdir}/hicolor/*/apps/%{name}.png | |
3ab4ce79 ER |
95 | %dir %{_libdir}/gtkpod |
96 | %attr(755,root,root) %{_libdir}/gtkpod/lib*.so | |
97 | %{_libdir}/gtkpod/*.plugin |