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

Revision 8447, 2.4 KB checked in by Takemikaduchi, 10 years ago (diff)

GNOME-3.12.2

Line 
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
6Version:        3.12.2
7Release:        1%{?_dist_release}
8License:        GPLv2+
9Group:          User Interface/Deskops
10URL:            https://wiki.gnome.org/Apps/Maps
11
12Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  gtk3-devel
17BuildRequires:  gjs-devel
18BuildRequires:  gobject-introspection-devel
19
20Requires(postun,posttrans):     desktop-file-utils
21
22Vendor:         Project Vine
23Distribution:   Vine Linux
24Packager:       Takemikaduchi
25
26
27%description
28Music application designed for GNOME 3
29
30%description -l ja
31gnome-music は GNOME3 向けに作られた音楽アプリケーションです。
32
33
34%package        devel
35Summary:        Development tools for %{name}
36Summary(ja):    %{name} の開発環境
37Group:          Development/Libraries
38Requires:       %{name} = %{version}-%{release}
39Requires:       pkgconfig
40
41%description    devel
42%{summary}
43
44
45%prep
46%setup -q
47
48%build
49%configure --disable-static
50
51make %{?_smp_mflags}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install DESTDIR=${RPM_BUILD_ROOT}
57
58find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
59
60rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
61
62%find_lang %{name} --with-gnome
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%post
68touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
69
70%postun
71if [ $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 ||:
76fi
77
78%posttrans
79gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
80update-desktop-database -q &> /dev/null ||:
81glib-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}
88%{_datadir}/appdata/%{name}.appdata.xml
89%{_datadir}/applications/%{name}.desktop
90%{_datadir}/glib-2.0/schemas/org.gnome.maps.gschema.xml
91%{_datadir}/%{name}
92%{_datadir}/icons/hicolor/*/*/*
93
94
95%changelog
96* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
97- new upstream release
98
99* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
100- initial build
101
Note: See TracBrowser for help on using the repository browser.