[521] | 1 | Summary: Library for accessing weather information |
---|
| 2 | Summary(ja): 天気予報情報にアクセスするライブラリ |
---|
| 3 | Name: libgweather |
---|
[4850] | 4 | Version: 3.2.0 |
---|
[2041] | 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | URL: http://www.gnome.org/ |
---|
| 7 | License: GPL |
---|
| 8 | Group: System Environment/Libraries |
---|
[4850] | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.2/%{name}-%{version}.tar.xz |
---|
[521] | 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | BuildRequires: glib2-devel |
---|
[4616] | 13 | BuildRequires: gtk3-devel |
---|
[521] | 14 | BuildRequires: GConf2-devel |
---|
| 15 | BuildRequires: libsoup-devel |
---|
| 16 | Requires(post,pre,preun): GConf2 |
---|
| 17 | |
---|
[4616] | 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | |
---|
[521] | 21 | %description |
---|
| 22 | |
---|
| 23 | libgweather is a library to access weather information from online |
---|
| 24 | services for numerous locations. |
---|
| 25 | |
---|
| 26 | %description -l ja |
---|
| 27 | |
---|
| 28 | libgweather はオンラインサービス上にある世界中の天気予報情報に |
---|
| 29 | アクセスするためのライブラリです。 |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %package l10n |
---|
| 33 | Summary: Localized xml files for %{name} |
---|
| 34 | Summary(ja): %{name} の多言語データ |
---|
| 35 | Group: System Environment/Libraries |
---|
| 36 | Requires: %{name} = %{version} |
---|
| 37 | |
---|
| 38 | %description l10n |
---|
| 39 | This 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 |
---|
| 48 | Summary: Libraries and headers for libgweather |
---|
| 49 | Summary(ja): libgweather 用ライブラリとヘッダ |
---|
| 50 | Group: Development/Libraries |
---|
| 51 | Requires: %{name} = %{version} |
---|
[4616] | 52 | Requires: gtk3-devel |
---|
[521] | 53 | Requires: GConf2-devel |
---|
| 54 | Requires: libsoup-devel |
---|
| 55 | |
---|
| 56 | %description devel |
---|
| 57 | |
---|
| 58 | Libraries and headers for libgweather. |
---|
| 59 | |
---|
| 60 | %description devel -l ja |
---|
| 61 | |
---|
| 62 | libgweather 用ライブラリとヘッダ |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %prep |
---|
| 66 | %setup -q |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %build |
---|
| 70 | %configure --disable-schemas-install |
---|
| 71 | # do NOT use smp flag |
---|
| 72 | make |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %install |
---|
| 76 | rm -rf $RPM_BUILD_ROOT |
---|
| 77 | |
---|
| 78 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
[4616] | 79 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 80 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 81 | |
---|
| 82 | rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la} |
---|
| 83 | |
---|
[4616] | 84 | %find_lang %{name}-3.0 |
---|
[521] | 85 | |
---|
| 86 | |
---|
| 87 | %clean |
---|
| 88 | rm -rf $RPM_BUILD_ROOT |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %post |
---|
| 92 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 93 | gconftool-2 --makefile-install-rule \ |
---|
| 94 | %{_sysconfdir}/gconf/schemas/gweather.schemas \ |
---|
| 95 | > /dev/null || : |
---|
| 96 | /sbin/ldconfig |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | %pre |
---|
| 100 | if [ "$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 || : |
---|
| 105 | fi |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | %preun |
---|
| 109 | if [ "$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 || : |
---|
| 114 | fi |
---|
| 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 |
---|
[4850] | 151 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
[4616] | 154 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
| 155 | - new upstream release |
---|
| 156 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 157 | |
---|
[2041] | 158 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1 |
---|
| 159 | - new upstream release |
---|
| 160 | |
---|
[1883] | 161 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
| 162 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 163 | |
---|
[1260] | 164 | * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 165 | - new upstream release |
---|
| 166 | |
---|
[805] | 167 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 168 | - new upstream release |
---|
| 169 | |
---|
[521] | 170 | * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
| 171 | - new upstream release |
---|
| 172 | - removed BR: gnome-vfs2-devel |
---|
| 173 | - added BR: libsoup-devel |
---|
| 174 | |
---|
| 175 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2.1-1 |
---|
| 176 | - new upstream release |
---|
| 177 | |
---|
| 178 | * Wed Apr 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2 |
---|
| 179 | - split l10n xml files to -l10n subpackage. |
---|
| 180 | |
---|
| 181 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
| 182 | - new upstream release |
---|
| 183 | - remove static libs |
---|
| 184 | |
---|
| 185 | * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1 |
---|
| 186 | - new upstream release |
---|
| 187 | |
---|
| 188 | * Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1 |
---|
| 189 | - new upstream release |
---|
| 190 | |
---|
| 191 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
| 194 | * Wed Jul 30 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.22.3-1 |
---|
| 195 | - new upstream release |
---|
| 196 | - added Japanese summary and description, in UTF-8 |
---|
| 197 | |
---|
| 198 | * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1 |
---|
| 199 | - new upstream release |
---|
| 200 | |
---|
| 201 | * Sat Apr 19 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.22.1.2-2 |
---|
| 202 | - dropped %%{_smp_mflags} from make option |
---|
| 203 | |
---|
| 204 | * Thu Apr 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.2-1vl5 |
---|
| 205 | - new upstream release |
---|
| 206 | |
---|
| 207 | * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1vl5 |
---|
| 208 | - new upstream release |
---|
| 209 | |
---|
| 210 | * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
| 211 | - initial package for Vine Linux |
---|