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

Revision 4616, 5.2 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

Line 
1Summary: Library for accessing weather information
2Summary(ja): 天気予報情報にアクセスするライブラリ
3Name: libgweather
4Version: 3.1.3
5Release: 1%{?_dist_release}
6URL: http://www.gnome.org/
7License: GPL
8Group: System Environment/Libraries
9Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.1/%{name}-%{version}.tar.xz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12BuildRequires: glib2-devel
13BuildRequires: gtk3-devel
14BuildRequires: GConf2-devel
15BuildRequires: libsoup-devel
16Requires(post,pre,preun): GConf2
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
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}
52Requires: gtk3-devel
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
79make install DESTDIR=$RPM_BUILD_ROOT
80unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
81
82rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la}
83
84%find_lang %{name}-3.0
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 
120%files -f %{name}-3.0.lang
121%defattr(-,root,root)
122%doc AUTHORS COPYING NEWS README
123%{_sysconfdir}/gconf/schemas/*.schemas
124%{_libdir}/lib*.so.*
125%{_libdir}/girepository-1.0/GWeather-3.0.typelib
126%dir %{_datadir}/libgweather
127%{_datadir}/libgweather/Locations.xml
128%{_datadir}/libgweather/Locations.ja.xml
129%{_datadir}/libgweather/locations.dtd
130%{_datadir}/icons/gnome/*/status/weather-*
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}/*
146%{_datadir}/gir-1.0/GWeather-3.0.gir
147%{_datadir}/gtk-doc/html/libgweather-3.0
148
149
150%changelog
151* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
152- new upstream release
153- change BuildRequires: gtk3-devel instead of gtk2-devel
154
155* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
156- new upstream release
157
158* Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
159- rebuild with rpm-4.8.1 for pkg-config file
160
161* Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
162- new upstream release
163
164* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
165- new upstream release
166
167* Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
168- new upstream release
169- removed BR: gnome-vfs2-devel
170- added BR: libsoup-devel
171
172* Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2.1-1
173- new upstream release
174
175* Wed Apr 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
176- split l10n xml files to -l10n subpackage.
177
178* Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
179- new upstream release
180- remove static libs
181
182* Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1
183- new upstream release
184
185* Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
186- new upstream release
187
188* Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
189- new upstream release
190
191* Wed Jul 30 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.22.3-1
192- new upstream release
193- added Japanese summary and description, in UTF-8
194
195* Sun Jun  1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
196- new upstream release
197
198* Sat Apr 19 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.22.1.2-2
199- dropped %%{_smp_mflags} from make option
200
201* Thu Apr 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.2-1vl5
202- new upstream release
203
204* Wed Apr  9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1vl5
205- new upstream release
206
207* Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
208- initial package for Vine Linux
Note: See TracBrowser for help on using the repository browser.