1 | %define pkg_version 3.0.0 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: A Compact Disk Player and Ripper for GNOME |
---|
5 | Summary(ja): GNOME 向け CD プレイヤ・リッパー |
---|
6 | Name: goobox |
---|
7 | Version: %{pkg_version} |
---|
8 | Release: %{pkg_release} |
---|
9 | |
---|
10 | Source0: http://download.gnome.org/sources/%{name}/3.0/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | Patch0: goobox-3.0.0-makefile.patch |
---|
13 | |
---|
14 | License: GPLv2 |
---|
15 | Group: Applications/Multimedia |
---|
16 | URL: http://people.gnome.org/~paobac/goobox/ |
---|
17 | |
---|
18 | Requires(post,postun): glib2 |
---|
19 | Requires(post,postun): desktop-file-utils |
---|
20 | |
---|
21 | BuildRequires: gtk3-devel |
---|
22 | BuildRequires: GConf2-devel |
---|
23 | BuildRequires: gstreamer-devel |
---|
24 | BuildRequires: libmusicbrainz3-devel |
---|
25 | BuildRequires: libdiscid-devel |
---|
26 | BuildRequires: brasero-devel |
---|
27 | BuildRequires: libnotify-devel |
---|
28 | BuildRequires: libSM-devel |
---|
29 | BuildRequires: gnome-doc-utils |
---|
30 | |
---|
31 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
32 | |
---|
33 | Vendor: Project Vine |
---|
34 | Distribution: Vine Linux |
---|
35 | Packager: Takemikaduchi |
---|
36 | |
---|
37 | |
---|
38 | %description |
---|
39 | Goobox is a CD player and ripper well integrated with the GNOME environment. |
---|
40 | |
---|
41 | %description -l ja |
---|
42 | Goobox は GNOME 環境で統合された CD プレイヤ・リッパーです。 |
---|
43 | |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | %patch0 -p1 |
---|
48 | |
---|
49 | %build |
---|
50 | %configure --disable-static |
---|
51 | %{__make} %{?_smp_mflags} |
---|
52 | |
---|
53 | |
---|
54 | %install |
---|
55 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
56 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | %find_lang %{name} --with-gnome |
---|
59 | |
---|
60 | |
---|
61 | %clean |
---|
62 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
63 | |
---|
64 | %post |
---|
65 | update-desktop-database -q |
---|
66 | touch --no-create %{_datadir}/icons/hicolor |
---|
67 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
68 | |
---|
69 | %postun |
---|
70 | update-desktop-database -q |
---|
71 | touch --no-create %{_datadir}/icons/hicolor |
---|
72 | if [ $1 -eq 0 ]; then |
---|
73 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
74 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
75 | fi |
---|
76 | |
---|
77 | %posttrans |
---|
78 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
79 | |
---|
80 | |
---|
81 | %files -f %{name}.lang |
---|
82 | %defattr(-,root,root) |
---|
83 | %doc COPYING ChangeLog NEWS README |
---|
84 | %{_bindir}/goobox |
---|
85 | %{_datadir}/GConf/gsettings/goobox.convert |
---|
86 | %{_datadir}/applications/goobox.desktop |
---|
87 | %{_datadir}/glib-2.0/schemas/org.gnome.Goobox.gschema.xml |
---|
88 | %{_datadir}/goobox/ui/*.ui |
---|
89 | %{_datadir}/icons/hicolor/*/apps/*.png |
---|
90 | |
---|
91 | |
---|
92 | %changelog |
---|
93 | * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
94 | - initial build for Vine Linux |
---|
95 | |
---|