[5311] | 1 | Summary: Provides access to weather information from the net |
---|
| 2 | Name: libmateweather |
---|
[10255] | 3 | Version: 1.14.0 |
---|
[8359] | 4 | Release: 1%{?_dist_release} |
---|
[10255] | 5 | Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
| 7 | Group: System Environment/Libraries |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: libxml2-devel |
---|
| 12 | BuildRequires: gtk2-devel |
---|
| 13 | BuildRequires: libsoup-devel |
---|
| 14 | BuildRequires: gtk-doc |
---|
| 15 | BuildRequires: autoconf |
---|
| 16 | BuildRequires: automake |
---|
| 17 | |
---|
[7697] | 18 | Requires(posttrans,postun): glib2 |
---|
[5311] | 19 | |
---|
| 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | |
---|
| 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | Packager: Takemikaduchi |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | libmateweather is a library to access weather information from online |
---|
| 29 | services for numerous locations. |
---|
| 30 | |
---|
| 31 | |
---|
[9552] | 32 | %package l10n |
---|
| 33 | Summary: Localized xml files for libmateweather |
---|
| 34 | Summary(ja): libmateweather の多言語データ |
---|
| 35 | Group: System Environment/Libraries |
---|
| 36 | Requires: %{name} = %{version} |
---|
| 37 | |
---|
| 38 | %description l10n |
---|
| 39 | This package contains localized xml files for libmateweather. |
---|
| 40 | (except for English and Japanese) |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %package devel |
---|
[5311] | 44 | Summary: Development tools for libmateweather |
---|
| 45 | Summary(ja): libmateweather の開発環境 |
---|
| 46 | Group: Development/Libraries |
---|
| 47 | Requires: %{name} = %{version}-%{release} |
---|
| 48 | Requires: pkgconfig |
---|
| 49 | |
---|
| 50 | %description devel |
---|
| 51 | Header files and libraries for building a extension library for the |
---|
| 52 | libmateweather. |
---|
| 53 | |
---|
| 54 | |
---|
[9552] | 55 | %package docs |
---|
[5311] | 56 | Summary: Documentation for libmateweather |
---|
| 57 | Summary(ja): libmateweather 用のドキュメント |
---|
| 58 | Group: Documentation |
---|
| 59 | BuildArch: noarch |
---|
| 60 | |
---|
[9552] | 61 | %description docs |
---|
[5311] | 62 | This package contains documentation for libmateweather. |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %prep |
---|
| 66 | %setup -q |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %build |
---|
| 70 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 71 | %configure \ |
---|
| 72 | --disable-static |
---|
| 73 | |
---|
| 74 | %{__make} %{?_smp_mflags} |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %install |
---|
| 78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 79 | |
---|
| 80 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 81 | |
---|
| 82 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 83 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 84 | |
---|
| 85 | %find_lang %{name} |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %clean |
---|
| 89 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 90 | |
---|
[9552] | 91 | %post -p /sbin/ldconfig |
---|
[5311] | 92 | |
---|
| 93 | %postun |
---|
| 94 | /sbin/ldconfig |
---|
[7697] | 95 | if [ $1 -eq 0 ]; then |
---|
| 96 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 97 | fi |
---|
| 98 | |
---|
[7697] | 99 | %posttrans |
---|
| 100 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 101 | |
---|
[5311] | 102 | %files -f %{name}.lang |
---|
| 103 | %defattr(-,root,root,-) |
---|
| 104 | %doc COPYING ChangeLog NEWS README |
---|
| 105 | %{_libdir}/libmateweather.so.* |
---|
[7697] | 106 | %{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml |
---|
[5311] | 107 | %{_datadir}/icons/mate/*/*/* |
---|
[9552] | 108 | %{_datadir}/libmateweather/Locations.xml |
---|
| 109 | %{_datadir}/libmateweather/Locations.ja.xml |
---|
[5311] | 110 | |
---|
[9552] | 111 | %files l10n |
---|
| 112 | %defattr(-,root,root) |
---|
| 113 | %{_datadir}/libmateweather/* |
---|
| 114 | %exclude %{_datadir}/libmateweather/Locations.xml |
---|
| 115 | %exclude %{_datadir}/libmateweather/Locations.ja.xml |
---|
| 116 | |
---|
[5311] | 117 | %files devel |
---|
| 118 | %defattr(-,root,root,-) |
---|
| 119 | %{_includedir}/libmateweather |
---|
| 120 | %{_libdir}/libmateweather.so |
---|
| 121 | %{_libdir}/pkgconfig/mateweather.pc |
---|
| 122 | |
---|
[9552] | 123 | %files docs |
---|
[5311] | 124 | %defattr(-,root,root,-) |
---|
| 125 | %{_datadir}/gtk-doc/html/libmateweather |
---|
| 126 | |
---|
| 127 | |
---|
| 128 | %changelog |
---|
[10255] | 129 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 130 | - new upstream release |
---|
| 131 | |
---|
[9842] | 132 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 133 | - new upstream release |
---|
| 134 | |
---|
[9797] | 135 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 136 | - new upstream release |
---|
| 137 | |
---|
[9552] | 138 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 139 | - new upstream release |
---|
| 140 | - create %%{name}-l10n subpackage |
---|
| 141 | - rename document subpackage |
---|
| 142 | |
---|
[8359] | 143 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 144 | - new upstream release |
---|
| 145 | |
---|
[8068] | 146 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2 |
---|
| 147 | - rebuild with VineSeed environment |
---|
| 148 | |
---|
[7821] | 149 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1 |
---|
| 150 | - new upstream release |
---|
| 151 | |
---|
[7697] | 152 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 153 | - new upstream release |
---|
| 154 | - remove BuildRequires: mate-conf-devel |
---|
| 155 | |
---|
[6679] | 156 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
[6172] | 159 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
[5311] | 162 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 163 | - initial build for Vine Linux |
---|
| 164 | |
---|