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.20.2 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: GPLv2+ |
---|
9 | Group: User Interface/Desktops |
---|
10 | URL: https://wiki.gnome.org/Apps/Music |
---|
11 | |
---|
12 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{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: libmediaart-devel |
---|
20 | BuildRequires: tracker-devel |
---|
21 | BuildRequires: yelp-tools |
---|
22 | |
---|
23 | |
---|
24 | Requires(postun,posttrans): desktop-file-utils |
---|
25 | Requires: python3-pygobject |
---|
26 | Requires: dbus-python3 |
---|
27 | Requires: python3-pycairo |
---|
28 | Requires: python3-requests |
---|
29 | |
---|
30 | Vendor: Project Vine |
---|
31 | Distribution: Vine Linux |
---|
32 | Packager: Takemikaduchi |
---|
33 | |
---|
34 | |
---|
35 | %description |
---|
36 | Music application designed for GNOME 3 |
---|
37 | |
---|
38 | %description -l ja |
---|
39 | gnome-music は GNOME3 向けに作られた音楽アプリケーションです。 |
---|
40 | |
---|
41 | |
---|
42 | %package devel |
---|
43 | Summary: Development tools for %{name} |
---|
44 | Summary(ja): %{name} の開発環境 |
---|
45 | Group: Development/Libraries |
---|
46 | Requires: %{name} = %{version}-%{release} |
---|
47 | Requires: pkgconfig |
---|
48 | |
---|
49 | %description devel |
---|
50 | %{summary} |
---|
51 | |
---|
52 | |
---|
53 | %prep |
---|
54 | %setup -q |
---|
55 | |
---|
56 | %build |
---|
57 | %configure --disable-static |
---|
58 | |
---|
59 | make %{?_smp_mflags} |
---|
60 | |
---|
61 | %install |
---|
62 | rm -rf $RPM_BUILD_ROOT |
---|
63 | |
---|
64 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
65 | |
---|
66 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
67 | |
---|
68 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
69 | |
---|
70 | %find_lang %{name} --with-gnome |
---|
71 | |
---|
72 | %clean |
---|
73 | rm -rf $RPM_BUILD_ROOT |
---|
74 | |
---|
75 | %post |
---|
76 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
77 | |
---|
78 | %postun |
---|
79 | if [ $1 -eq 0 ]; then |
---|
80 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
81 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
82 | update-desktop-database -q &> /dev/null ||: |
---|
83 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
84 | fi |
---|
85 | |
---|
86 | %posttrans |
---|
87 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
88 | update-desktop-database -q &> /dev/null ||: |
---|
89 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
90 | |
---|
91 | |
---|
92 | %files -f %{name}.lang |
---|
93 | %defattr(-,root,root,-) |
---|
94 | %doc COPYING README NEWS |
---|
95 | %{_bindir}/%{name} |
---|
96 | %{python3_sitelib}/gnomemusic |
---|
97 | %{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib |
---|
98 | %{_libdir}/%{name}/libgd.so |
---|
99 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
100 | %{_datadir}/applications/%{name}.desktop |
---|
101 | %{_datadir}/glib-2.0/schemas/org.gnome.Music.gschema.xml |
---|
102 | %{_datadir}/%{name}/gnome-music.gresource |
---|
103 | %{_datadir}/icons/*/*/*/* |
---|
104 | %{_mandir}/man1/gnome-music.1.gz |
---|
105 | |
---|
106 | %files devel |
---|
107 | %defattr(-,root,root,-) |
---|
108 | %{_datadir}/%{name}/gir-1.0/Gd-1.0.gir |
---|
109 | |
---|
110 | |
---|
111 | %changelog |
---|
112 | * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1 |
---|
113 | - new upstream release |
---|
114 | - add BuildRequires: tracker-devel |
---|
115 | |
---|
116 | * Fri Nov 20 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1 |
---|
120 | - new upstream release |
---|
121 | - add Requires: python3-requests |
---|
122 | |
---|
123 | * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Sun May 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-2 |
---|
127 | - add Requires: python3-pycairo |
---|
128 | |
---|
129 | * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
130 | - new upstream release |
---|
131 | |
---|
132 | * Mon Mar 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Sun Feb 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3.1-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Wed Jan 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-2 |
---|
142 | - fix typo in Group |
---|
143 | |
---|
144 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
148 | - new upstream release |
---|
149 | - add BuildRequires: libmediaart-devel |
---|
150 | |
---|
151 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2.1-1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
155 | - new upstream release |
---|
156 | |
---|
157 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
158 | - new upstream release |
---|
159 | - add BuildRequires: yelp-tools |
---|
160 | - add Requires: python3-pygobject, dbus-python3 |
---|
161 | |
---|
162 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
163 | - rebuild with VineSeed environment |
---|
164 | |
---|
165 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
166 | - initial build |
---|
167 | |
---|