1 | %{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} |
---|
2 | |
---|
3 | Summary: Music applications for GNOME |
---|
4 | Summary(ja): GNOME 用音楽アプリケーション |
---|
5 | Name: gnome-music |
---|
6 | Version: 3.12.2.1 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: GPLv2+ |
---|
9 | Group: User Interface/Deskops |
---|
10 | URL: https://wiki.gnome.org/Apps/Music |
---|
11 | |
---|
12 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildRequires: gtk3-devel |
---|
17 | BuildRequires: python3-devel |
---|
18 | BuildRequires: grilo-devel |
---|
19 | BuildRequires: yelp-tools |
---|
20 | |
---|
21 | |
---|
22 | Requires(postun,posttrans): desktop-file-utils |
---|
23 | Requires: python3-pygobject |
---|
24 | Requires: dbus-python3 |
---|
25 | |
---|
26 | Vendor: Project Vine |
---|
27 | Distribution: Vine Linux |
---|
28 | Packager: Takemikaduchi |
---|
29 | |
---|
30 | |
---|
31 | %description |
---|
32 | Music application designed for GNOME 3 |
---|
33 | |
---|
34 | %description -l ja |
---|
35 | gnome-music は GNOME3 向けに作られた音楽アプリケーションです。 |
---|
36 | |
---|
37 | |
---|
38 | %package devel |
---|
39 | Summary: Development tools for %{name} |
---|
40 | Summary(ja): %{name} の開発環境 |
---|
41 | Group: Development/Libraries |
---|
42 | Requires: %{name} = %{version}-%{release} |
---|
43 | Requires: pkgconfig |
---|
44 | |
---|
45 | %description devel |
---|
46 | %{summary} |
---|
47 | |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | |
---|
52 | %build |
---|
53 | %configure --disable-static |
---|
54 | |
---|
55 | make %{?_smp_mflags} |
---|
56 | |
---|
57 | %install |
---|
58 | rm -rf $RPM_BUILD_ROOT |
---|
59 | |
---|
60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
61 | |
---|
62 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
63 | |
---|
64 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
65 | |
---|
66 | %find_lang %{name} --with-gnome |
---|
67 | |
---|
68 | %clean |
---|
69 | rm -rf $RPM_BUILD_ROOT |
---|
70 | |
---|
71 | %post |
---|
72 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
73 | |
---|
74 | %postun |
---|
75 | if [ $1 -eq 0 ]; then |
---|
76 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
77 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
78 | update-desktop-database -q &> /dev/null ||: |
---|
79 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
80 | fi |
---|
81 | |
---|
82 | %posttrans |
---|
83 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
84 | update-desktop-database -q &> /dev/null ||: |
---|
85 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
86 | |
---|
87 | |
---|
88 | %files -f %{name}.lang |
---|
89 | %defattr(-,root,root,-) |
---|
90 | %doc COPYING README NEWS |
---|
91 | %{_bindir}/%{name} |
---|
92 | %{python3_sitelib}/gnomemusic |
---|
93 | %{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib |
---|
94 | %{_libdir}/%{name}/libgd.so |
---|
95 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
96 | %{_datadir}/applications/%{name}.desktop |
---|
97 | %{_datadir}/glib-2.0/schemas/org.gnome.Music.gschema.xml |
---|
98 | %{_datadir}/%{name}/gnome-music.gresource |
---|
99 | %{_datadir}/icons/hicolor/*/*/* |
---|
100 | |
---|
101 | %files devel |
---|
102 | %defattr(-,root,root,-) |
---|
103 | %{_datadir}/%{name}/gir-1.0/Gd-1.0.gir |
---|
104 | |
---|
105 | |
---|
106 | |
---|
107 | %changelog |
---|
108 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2.1-1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
112 | - new upstream release |
---|
113 | |
---|
114 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
115 | - new upstream release |
---|
116 | - add BuildRequires: yelp-tools |
---|
117 | - add Requires: python3-pygobject, dbus-python3 |
---|
118 | |
---|
119 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
120 | - rebuild with VineSeed environment |
---|
121 | |
---|
122 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
123 | - initial build |
---|
124 | |
---|