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