1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- %{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
- Summary: A simple GNOME 3 maps application
- Summary(ja): GNOME 3 用マップアプリケーション
- Name: gnome-maps
- Version: 3.12.1
- Release: 1%{?_dist_release}
- License: GPLv2+
- Group: User Interface/Deskops
- URL: https:
- Source: http:
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: gtk3-devel
- BuildRequires: gjs-devel
- BuildRequires: gobject-introspection-devel
- Requires(postun,posttrans): desktop-file-utils
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %description
- Music application designed for GNOME 3
- %description -l ja
- gnome-music は GNOME3 向けに作られた音楽アプリケーションです。
- %package devel
- Summary: Development tools for %{name}
- Summary(ja): %{name} の開発環境
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig
- %description devel
- %{summary}
- %prep
- %setup -q
- %build
- %configure --disable-static
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- %{__make} install DESTDIR=${RPM_BUILD_ROOT}
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
- rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
- %find_lang %{name} --with-gnome
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
- %postun
- if [ $1 -eq 0 ]; then
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
- update-desktop-database -q &> /dev/null ||:
- glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
- fi
- %posttrans
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
- update-desktop-database -q &> /dev/null ||:
- glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc COPYING README NEWS
- %{_bindir}/%{name}
- %{_datadir}/appdata/%{name}.appdata.xml
- %{_datadir}/applications/%{name}.desktop
- %{_datadir}/glib-2.0/schemas/org.gnome.maps.gschema.xml
- %{_datadir}/%{name}
- %{_datadir}/icons/hicolor*
- %changelog
- * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
- - initial build
|