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