1 | %define pkg_version 3.3.3 |
---|
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.3/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | License: GPLv2 |
---|
13 | Group: Applications/Multimedia |
---|
14 | URL: http://people.gnome.org/~paobac/goobox/ |
---|
15 | |
---|
16 | Requires(posttrans,postun): glib2 |
---|
17 | Requires(posttrans,postun): desktop-file-utils |
---|
18 | |
---|
19 | BuildRequires: gtk3-devel |
---|
20 | BuildRequires: GConf2-devel |
---|
21 | BuildRequires: gstreamer1-devel |
---|
22 | BuildRequires: libmusicbrainz5-devel |
---|
23 | BuildRequires: libdiscid-devel |
---|
24 | BuildRequires: brasero-devel |
---|
25 | BuildRequires: libnotify-devel |
---|
26 | BuildRequires: libSM-devel |
---|
27 | BuildRequires: itstool |
---|
28 | |
---|
29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
30 | |
---|
31 | Vendor: Project Vine |
---|
32 | Distribution: Vine Linux |
---|
33 | Packager: Takemikaduchi |
---|
34 | |
---|
35 | |
---|
36 | %description |
---|
37 | Goobox is a CD player and ripper well integrated with the GNOME environment. |
---|
38 | |
---|
39 | %description -l ja |
---|
40 | Goobox は GNOME 環境で統合された CD プレイヤ・リッパーです。 |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %setup -q |
---|
45 | sed -i "s|LDFLAGS = @LDFLAGS@|LDFLAGS = @LDFLAGS@ -lm|" Makefile.in |
---|
46 | sed -i "s|LDFLAGS = @LDFLAGS@|LDFLAGS = @LDFLAGS@ -lm|" src/Makefile.in |
---|
47 | |
---|
48 | %build |
---|
49 | %configure --disable-static |
---|
50 | %{__make} %{?_smp_mflags} |
---|
51 | |
---|
52 | |
---|
53 | %install |
---|
54 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
55 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
56 | |
---|
57 | %find_lang %{name} --with-gnome |
---|
58 | |
---|
59 | |
---|
60 | %clean |
---|
61 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
62 | |
---|
63 | %post |
---|
64 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
65 | |
---|
66 | %postun |
---|
67 | if [ $1 -eq 0 ]; then |
---|
68 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
69 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
70 | update-desktop-database -q &> /dev/null ||: |
---|
71 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
72 | fi |
---|
73 | |
---|
74 | %posttrans |
---|
75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
76 | update-desktop-database -q &> /dev/null ||: |
---|
77 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
78 | |
---|
79 | |
---|
80 | %files -f %{name}.lang |
---|
81 | %defattr(-,root,root) |
---|
82 | %doc COPYING ChangeLog NEWS README |
---|
83 | %{_bindir}/goobox |
---|
84 | %{_datadir}/GConf/gsettings/goobox.convert |
---|
85 | %{_datadir}/appdata/goobox.appdata.xml |
---|
86 | %{_datadir}/applications/goobox.desktop |
---|
87 | %{_datadir}/glib-2.0/schemas/org.gnome.Goobox.gschema.xml |
---|
88 | %{_datadir}/icons/hicolor/*/apps/*.png |
---|
89 | |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.3-1 |
---|
93 | - new upstream release |
---|
94 | - remove Patch0 |
---|
95 | - change BuildRequires: gstreamer1-devel instead of gstreamer-devel |
---|
96 | - change BuildRequires: libmusicbrainz5-devel instead of libmusicbrainz3-devel |
---|
97 | - add BuildRequires: itstool |
---|
98 | |
---|
99 | * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
100 | - initial build for Vine Linux |
---|
101 | |
---|