source: projects/specs/trunk/lib/libg/libgweather/libgweather-vl.spec @ 6011

Revision 6011, 5.5 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

RevLine 
[521]1Summary: Library for accessing weather information
2Summary(ja): 天気予報情報にアクセスするライブラリ
3Name: libgweather
[6011]4Version: 3.4.1
[2041]5Release: 1%{?_dist_release}
[521]6URL: http://www.gnome.org/
7License: GPL
8Group: System Environment/Libraries
[6011]9Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.4/%{name}-%{version}.tar.xz
[521]10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12BuildRequires: glib2-devel
[4616]13BuildRequires: gtk3-devel
[521]14BuildRequires: GConf2-devel
15BuildRequires: libsoup-devel
16Requires(post,pre,preun): GConf2
17
[4616]18Vendor: Project Vine
19Distribution: Vine Linux
20
[521]21%description
22
23libgweather is a library to access weather information from online
24services for numerous locations.
25
26%description -l ja
27
28libgweather はオンラインサービス上にある世界中の天気予報情報に
29アクセスするためのライブラリです。
30
31
32%package l10n
33Summary: Localized xml files for %{name}
34Summary(ja): %{name} の多言語データ
35Group: System Environment/Libraries
36Requires: %{name} = %{version}
37
38%description l10n
39This package contains localized xml files for libgweather.
40(except for English and Japanese)
41
42%description -l ja l10n
43このパッケージには libgweather 用の各種言語の xml ファイルが
44含まれています。(英語および日本語以外の言語)
45
46
47%package devel
48Summary: Libraries and headers for libgweather
49Summary(ja): libgweather 用ライブラリとヘッダ
50Group: Development/Libraries
51Requires: %{name} = %{version}
[4616]52Requires: gtk3-devel
[521]53Requires: GConf2-devel
54Requires: libsoup-devel
55
56%description devel
57
58Libraries and headers for libgweather.
59
60%description devel -l ja
61
62libgweather 用ライブラリとヘッダ
63
64
65%prep
66%setup -q
67
68
69%build
70%configure --disable-schemas-install
71# do NOT use smp flag
72make
73
74
75%install
76rm -rf $RPM_BUILD_ROOT
77
78export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
[4616]79make install DESTDIR=$RPM_BUILD_ROOT
[521]80unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
81
82rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la}
83
[4616]84%find_lang %{name}-3.0
[521]85
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90
91%post
92export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
93gconftool-2 --makefile-install-rule \
94    %{_sysconfdir}/gconf/schemas/gweather.schemas \
95    > /dev/null || :
96/sbin/ldconfig
97
98
99%pre
100if [ "$1" -gt 1 ]; then
101  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
102  gconftool-2 --makefile-uninstall-rule \
103    %{_sysconfdir}/gconf/schemas/gweather.schemas \
104    > /dev/null || :
105fi
106
107
108%preun
109if [ "$1" -eq 0 ]; then
110  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
111  gconftool-2 --makefile-uninstall-rule \
112    %{_sysconfdir}/gconf/schemas/gweather.schemas \
113    > /dev/null || :
114fi
115
116
117%postun -p /sbin/ldconfig
118
119 
[4616]120%files -f %{name}-3.0.lang
[521]121%defattr(-,root,root)
122%doc AUTHORS COPYING NEWS README
123%{_sysconfdir}/gconf/schemas/*.schemas
124%{_libdir}/lib*.so.*
[4616]125%{_libdir}/girepository-1.0/GWeather-3.0.typelib
[521]126%dir %{_datadir}/libgweather
127%{_datadir}/libgweather/Locations.xml
128%{_datadir}/libgweather/Locations.ja.xml
129%{_datadir}/libgweather/locations.dtd
[805]130%{_datadir}/icons/gnome/*/status/weather-*
[521]131
132
133%files l10n
134%defattr(-,root,root)
135%{_datadir}/libgweather/*.xml
136%exclude %{_datadir}/libgweather/Locations.xml
137%exclude %{_datadir}/libgweather/Locations.ja.xml
138%exclude %{_datadir}/libgweather/locations.dtd
139
140
141%files devel
142%defattr(-,root,root)
143%{_libdir}/lib*.so
144%{_libdir}/pkgconfig/*
145%{_includedir}/*
[4616]146%{_datadir}/gir-1.0/GWeather-3.0.gir
147%{_datadir}/gtk-doc/html/libgweather-3.0
[521]148
149
150%changelog
[6011]151* Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
152- new upstream release
153
[5094]154* Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
155- new upstream release
156
[4850]157* Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
158- new upstream release
159
[4616]160* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
161- new upstream release
162- change BuildRequires: gtk3-devel instead of gtk2-devel
163
[2041]164* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
165- new upstream release
166
[1883]167* Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
168- rebuild with rpm-4.8.1 for pkg-config file
169
[1260]170* Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
171- new upstream release
172
[805]173* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
174- new upstream release
175
[521]176* Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
177- new upstream release
178- removed BR: gnome-vfs2-devel
179- added BR: libsoup-devel
180
181* Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2.1-1
182- new upstream release
183
184* Wed Apr 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
185- split l10n xml files to -l10n subpackage.
186
187* Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
188- new upstream release
189- remove static libs
190
191* Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1
192- new upstream release
193
194* Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
195- new upstream release
196
197* Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
198- new upstream release
199
200* Wed Jul 30 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.22.3-1
201- new upstream release
202- added Japanese summary and description, in UTF-8
203
204* Sun Jun  1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
205- new upstream release
206
207* Sat Apr 19 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.22.1.2-2
208- dropped %%{_smp_mflags} from make option
209
210* Thu Apr 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.2-1vl5
211- new upstream release
212
213* Wed Apr  9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1vl5
214- new upstream release
215
216* Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
217- initial package for Vine Linux
Note: See TracBrowser for help on using the repository browser.