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

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

GNOME-3.12.2

Line 
1%define         pkgname org.gnome.Weather.Application
2
3Summary:        Weather application for GNOME
4Summary(ja):    GNOME 用天気アプリケーション
5Name:           gnome-weather
6Version:        3.12.1
7Release:        1%{?_dist_release}
8License:        GPLv2+
9Group:          User Interface/Deskops
10URL:            https://live.gnome.org/Design/Apps/Weather
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:  libgweather-devel >= 3.9.5
19
20Requires(postun,posttrans):     desktop-file-utils
21
22Vendor:         Project Vine
23Distribution:   Vine Linux
24Packager:       Takemikaduchi
25
26
27%description
28This is a small application that allows you to monitor the current
29weather conditions for your city, or anywhere in the world, and to
30access updated forecasts provided by various internet services.
31
32%description -l ja
33gnome-weather は世界各地の現在の天候を表示し、様々なインターネット
34サービスで提供された天気予報にアクセスするための小さなアプリケーションです。
35
36
37%package        devel
38Summary:        Development tools for %{name}
39Summary(ja):    %{name} の開発環境
40Group:          Development/Libraries
41Requires:       %{name} = %{version}-%{release}
42Requires:       pkgconfig
43
44%description devel
45Header files and libraries for building a extension library for the %{name}.
46
47
48%prep
49%setup -q
50
51%build
52%configure
53
54make %{?_smp_mflags}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59make install DESTDIR=${RPM_BUILD_ROOT}
60
61find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
62
63%find_lang %{pkgname}
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%post
69touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
70
71%postun
72if [ $1 -eq 0 ]; then
73  update-desktop-database -q &> /dev/null ||:
74  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
75  gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
76fi
77
78%posttrans
79update-desktop-database -q &> /dev/null ||:
80glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
81gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
82
83
84%files -f %{pkgname}.lang
85%defattr(-,root,root,-)
86%doc NEWS
87%{_bindir}/%{name}
88%{_libdir}/%{pkgname}/girepository-1.0/Gd-1.0.typelib
89%{_libdir}/%{pkgname}/libgd.so
90%{_datadir}/appdata/%{pkgname}.appdata.xml
91%{_datadir}/applications/%{pkgname}.desktop
92%{_datadir}/dbus-1/services/%{pkgname}.service
93%{_datadir}/glib-2.0/schemas/%{pkgname}.gschema.xml
94%{_datadir}/gnome-shell/search-providers/%{pkgname}.search-provider.ini
95%{_datadir}/icons/hicolor/*/*/*
96%{_datadir}/%{pkgname}/*.js
97%{_datadir}/%{pkgname}/%{pkgname}
98%{_datadir}/%{pkgname}/%{pkgname}.data.gresource
99%{_datadir}/%{pkgname}/%{pkgname}.src.gresource
100
101%files devel
102%defattr(-,root,root,-)
103%{_datadir}/%{pkgname}/gir-1.0/Gd-1.0.gir
104
105
106%changelog
107* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
108- new upstream release
109
110* Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
111- new upstream release
112
113* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
114- rebuild with VineSeed environment
115
116* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
117- new upstream release
118- add BuildRequires: libgweather-devel
119
120* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
121- new upstream release
122
123* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
124- initial build
Note: See TracBrowser for help on using the repository browser.