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 |
---|
6 | Version: 3.16.2 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: GPLv2+ |
---|
9 | Group: User Interface/Desktops |
---|
10 | URL: https://wiki.gnome.org/Apps/Maps |
---|
11 | |
---|
12 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.16/%{name}-%{version}.tar.xz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildRequires: gtk3-devel |
---|
17 | BuildRequires: gjs-devel >= 1.43.3 |
---|
18 | BuildRequires: gobject-introspection-devel |
---|
19 | BuildRequires: geoclue2-devel |
---|
20 | BuildRequires: libgee-devel |
---|
21 | BuildRequires: folks-devel |
---|
22 | BuildRequires: geocode-glib-devel |
---|
23 | BuildRequires: libchamplain-devel |
---|
24 | |
---|
25 | Requires(postun,posttrans): desktop-file-utils |
---|
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 | |
---|
67 | %find_lang %{name} --with-gnome |
---|
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 | %{_libdir}/%{name}/girepository-1.0/GnomeMaps-1.0.typelib |
---|
94 | %{_libdir}/%{name}/libgnome-maps.so.* |
---|
95 | %{_datadir}/appdata/org.gnome.Maps.appdata.xml |
---|
96 | %{_datadir}/applications/org.gnome.Maps.desktop |
---|
97 | %{_datadir}/dbus-1/services/org.gnome.Maps.service |
---|
98 | %{_datadir}/glib-2.0/schemas/org.gnome.Maps.gschema.xml |
---|
99 | %{_datadir}/%{name} |
---|
100 | %{_datadir}/icons/*/*/*/* |
---|
101 | %{_datadir}/gir-1.0/GnomeMaps-1.0.gir |
---|
102 | %exclude %{_libdir}/%{name}/libgnome-maps.so |
---|
103 | |
---|
104 | |
---|
105 | %changelog |
---|
106 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1 |
---|
107 | - new upstream release |
---|
108 | |
---|
109 | * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
110 | - new upstream release |
---|
111 | |
---|
112 | * Mon Mar 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
113 | - new upstream release |
---|
114 | - add BuildRequires: geoclue2-devel, libgee-devel, folks-devel, geocode-glib-devel, libchamplain-devel |
---|
115 | |
---|
116 | * Sat Nov 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-2 |
---|
117 | - fix typo in Group |
---|
118 | |
---|
119 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
120 | - new upstream release |
---|
121 | |
---|
122 | * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1.2-1 |
---|
123 | - new upstream release |
---|
124 | |
---|
125 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
129 | - initial build |
---|
130 | |
---|