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