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