| 1 | Summary: Library for accessing weather information |
|---|
| 2 | Summary(ja): 天気予報情報にアクセスするライブラリ |
|---|
| 3 | Name: libgweather |
|---|
| 4 | Version: 3.4.1 |
|---|
| 5 | Release: 1%{?_dist_release} |
|---|
| 6 | URL: http://www.gnome.org/ |
|---|
| 7 | License: GPL |
|---|
| 8 | Group: System Environment/Libraries |
|---|
| 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.4/%{name}-%{version}.tar.xz |
|---|
| 10 | |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 12 | BuildRequires: glib2-devel |
|---|
| 13 | BuildRequires: gtk3-devel |
|---|
| 14 | BuildRequires: GConf2-devel |
|---|
| 15 | BuildRequires: libsoup-devel |
|---|
| 16 | Requires(post,pre,preun): GConf2 |
|---|
| 17 | |
|---|
| 18 | Vendor: Project Vine |
|---|
| 19 | Distribution: Vine Linux |
|---|
| 20 | |
|---|
| 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} |
|---|
| 52 | Requires: gtk3-devel |
|---|
| 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 |
|---|
| 79 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 80 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|---|
| 81 | |
|---|
| 82 | rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la} |
|---|
| 83 | |
|---|
| 84 | %find_lang %{name}-3.0 |
|---|
| 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 | |
|---|
| 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 Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
|---|
| 152 | - new upstream release |
|---|
| 153 | |
|---|
| 154 | * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
|---|
| 155 | - new upstream release |
|---|
| 156 | |
|---|
| 157 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
|---|
| 158 | - new upstream release |
|---|
| 159 | |
|---|
| 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 | |
|---|
| 164 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1 |
|---|
| 165 | - new upstream release |
|---|
| 166 | |
|---|
| 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 | |
|---|
| 170 | * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
|---|
| 171 | - new upstream release |
|---|
| 172 | |
|---|
| 173 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
|---|
| 174 | - new upstream release |
|---|
| 175 | |
|---|
| 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 |
|---|