source: projects/specs/trunk/g/gnome-maps/gnome-maps-vl.spec @ 9804

Revision 9804, 3.6 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.18.2 & Cinnamon-2.8.4

RevLine 
[8369]1%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
2
3Summary:        A simple GNOME 3 maps application
4Summary(ja):    GNOME 3 用マップアプリケーション
5Name:           gnome-maps
[9804]6Version:        3.18.2
[9478]7Release:        1%{?_dist_release}
[8369]8License:        GPLv2+
[9114]9Group:          User Interface/Desktops
[8369]10URL:            https://wiki.gnome.org/Apps/Maps
11
[9791]12Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.18/%{name}-%{version}.tar.xz
[8369]13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  gtk3-devel
[9478]17BuildRequires:  gjs-devel >= 1.43.3
[8369]18BuildRequires:  gobject-introspection-devel
[9478]19BuildRequires:  geoclue2-devel
20BuildRequires:  libgee-devel
21BuildRequires:  folks-devel
22BuildRequires:  geocode-glib-devel
23BuildRequires:  libchamplain-devel
[8369]24
25Requires(postun,posttrans):     desktop-file-utils
26
27Vendor:         Project Vine
28Distribution:   Vine Linux
29Packager:       Takemikaduchi
30
31
32%description
33Music application designed for GNOME 3
34
35%description -l ja
36gnome-music は GNOME3 向けに作られた音楽アプリケーションです。
37
38
39%package        devel
40Summary:        Development tools for %{name}
41Summary(ja):    %{name} の開発環境
42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
44Requires:       pkgconfig
45
46%description    devel
47%{summary}
48
49
50%prep
51%setup -q
52
53%build
54%configure --disable-static
55
56make %{?_smp_mflags}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install DESTDIR=${RPM_BUILD_ROOT}
62
63find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
64
65rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
66
67%find_lang %{name} --with-gnome
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post
73touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
74
75%postun
76if [ $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 ||:
81fi
82
83%posttrans
84gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
85update-desktop-database -q &> /dev/null ||:
86glib-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}
[9478]93%{_libdir}/%{name}/girepository-1.0/GnomeMaps-1.0.typelib
94%{_libdir}/%{name}/libgnome-maps.so.*
[9073]95%{_datadir}/appdata/org.gnome.Maps.appdata.xml
96%{_datadir}/applications/org.gnome.Maps.desktop
97%{_datadir}/dbus-1/services/org.gnome.Maps.service
[9478]98%{_datadir}/glib-2.0/schemas/org.gnome.Maps.gschema.xml
[8369]99%{_datadir}/%{name}
[9073]100%{_datadir}/icons/*/*/*/*
[9478]101%{_datadir}/gir-1.0/GnomeMaps-1.0.gir
102%exclude %{_libdir}/%{name}/libgnome-maps.so
[8369]103
104
105%changelog
[9804]106* Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
107- new upstream release
108
[9791]109* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
110- new upstream release
111
[9569]112* Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
113- new upstream release
114
[9520]115* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
116- new upstream release
117
[9478]118* Mon Mar 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
119- new upstream release
120- add BuildRequires: geoclue2-devel, libgee-devel, folks-devel, geocode-glib-devel, libchamplain-devel
121
[9114]122* Sat Nov 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-2
123- fix typo in Group
124
[9102]125* Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
126- new upstream release
127
[9073]128* Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1.2-1
129- new upstream release
130
[8447]131* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
132- new upstream release
133
[8369]134* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
135- initial build
136
Note: See TracBrowser for help on using the repository browser.