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

Revision 7681, 2.3 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME 3.8.2

Line 
1Summary:        Weather application for GNOME
2Summary(ja):    GNOME 用天気アプリケーション
3Name:           gnome-weather
4Version:        3.8.2
5Release:        1%{?_dist_release}
6License:        GPLv2+
7Group:          User Interface/Deskops
8URL:            https://live.gnome.org/Design/Apps/Weather
9
10Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  gtk3-devel
15BuildRequires:  gjs-devel
16
17Requires(postun,posttrans):     desktop-file-utils
18
19Vendor:         Project Vine
20Distribution:   Vine Linux
21Packager:       Takemikaduchi
22
23
24%description
25This is a small application that allows you to monitor the current
26weather conditions for your city, or anywhere in the world, and to
27access updated forecasts provided by various internet services.
28
29%description -l ja
30gnome-weather は世界各地の現在の天候を表示し、様々なインターネット
31サービスで提供された天気予報にアクセスするための小さなアプリケーションです。
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
42Header files and libraries for building a extension library for the %{name}.
43
44
45%prep
46%setup -q
47
48%build
49%configure
50
51make %{?_smp_mflags}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56make install DESTDIR=${RPM_BUILD_ROOT}
57
58find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
59
60%find_lang %{name}
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%postun
66if [ $1 -eq 0 ]; then
67  update-desktop-database -q &> /dev/null ||:
68  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
69fi
70
71%posttrans
72update-desktop-database -q &> /dev/null ||:
73glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
74
75
76%files -f %{name}.lang
77%defattr(-,root,root,-)
78%doc NEWS
79%{_bindir}/%{name}
80%{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib
81%{_libdir}/%{name}/libgd.so
82%{_datadir}/applications/%{name}.desktop
83%{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml
84%{_datadir}/%{name}/*.js
85%{_datadir}/%{name}/gnome-weather.gresource
86
87%files devel
88%defattr(-,root,root,-)
89%{_datadir}/%{name}/gir-1.0/Gd-1.0.gir
90
91
92%changelog
93* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
94- new upstream release
95
96* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
97- initial build
Note: See TracBrowser for help on using the repository browser.