[5311] | 1 | Summary: Provides access to weather information from the net |
---|
| 2 | Name: libmateweather |
---|
[8359] | 3 | Version: 1.8.0 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: http://pub.mate-desktop.org/releases/1.8/%{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 |
---|
| 19 | Requires(post,postun): gtk2 |
---|
[5311] | 20 | |
---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: Takemikaduchi |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | libmateweather is a library to access weather information from online |
---|
| 30 | services for numerous locations. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: Development tools for libmateweather |
---|
| 35 | Summary(ja): libmateweather の開発環境 |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | Header files and libraries for building a extension library for the |
---|
| 42 | libmateweather. |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %package doc |
---|
| 46 | Summary: Documentation for libmateweather |
---|
| 47 | Summary(ja): libmateweather 用のドキュメント |
---|
| 48 | Group: Documentation |
---|
| 49 | Requires: %{name} = %{version}-%{release} |
---|
| 50 | BuildArch: noarch |
---|
| 51 | |
---|
| 52 | %description doc |
---|
| 53 | This package contains documentation for libmateweather. |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %prep |
---|
| 57 | %setup -q |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %build |
---|
| 61 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 62 | %configure \ |
---|
| 63 | --disable-static |
---|
| 64 | |
---|
| 65 | %{__make} %{?_smp_mflags} |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %install |
---|
| 69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 70 | |
---|
| 71 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 72 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 73 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 74 | |
---|
| 75 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 76 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 77 | |
---|
| 78 | %find_lang %{name} |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %clean |
---|
| 82 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 83 | |
---|
| 84 | %post |
---|
| 85 | /sbin/ldconfig |
---|
| 86 | touch --no-create %{_datadir}/icons/hicolor |
---|
[7697] | 87 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 88 | |
---|
| 89 | %postun |
---|
| 90 | /sbin/ldconfig |
---|
[7697] | 91 | if [ $1 -eq 0 ]; then |
---|
| 92 | touch --no-create %{_datadir}/icons/hicolor |
---|
[5311] | 93 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[7697] | 94 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 95 | fi |
---|
| 96 | |
---|
[7697] | 97 | %posttrans |
---|
| 98 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 99 | |
---|
[5311] | 100 | %files -f %{name}.lang |
---|
| 101 | %defattr(-,root,root,-) |
---|
| 102 | %doc COPYING ChangeLog NEWS README |
---|
| 103 | %{_libdir}/libmateweather.so.* |
---|
[7697] | 104 | %{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml |
---|
[5311] | 105 | %{_datadir}/icons/mate/*/*/* |
---|
| 106 | %{_datadir}/libmateweather |
---|
| 107 | |
---|
| 108 | %files devel |
---|
| 109 | %defattr(-,root,root,-) |
---|
| 110 | %{_includedir}/libmateweather |
---|
| 111 | %{_libdir}/libmateweather.so |
---|
| 112 | %{_libdir}/pkgconfig/mateweather.pc |
---|
| 113 | |
---|
| 114 | %files doc |
---|
| 115 | %defattr(-,root,root,-) |
---|
| 116 | %{_datadir}/gtk-doc/html/libmateweather |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | %changelog |
---|
[8359] | 120 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[8068] | 123 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2 |
---|
| 124 | - rebuild with VineSeed environment |
---|
| 125 | |
---|
[7821] | 126 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[7697] | 129 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 130 | - new upstream release |
---|
| 131 | - remove BuildRequires: mate-conf-devel |
---|
| 132 | |
---|
[6679] | 133 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
[6172] | 136 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 137 | - new upstream release |
---|
| 138 | |
---|
[5311] | 139 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 140 | - initial build for Vine Linux |
---|
| 141 | |
---|