]> git.pld-linux.org Git - packages/libgweather.git/blobdiff - libgweather.spec
- updated to 2.30.0; merged changes from DEVEL
[packages/libgweather.git] / libgweather.spec
index 4e1bc1c26393b0ef8bdcb539f6a216701b17030c..da134dafa310e90dbd83df8bdf1e0c9b1b317813 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Library to access weather information from online services for numerous locations
 Summary(pl.UTF-8):     Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
 Name:          libgweather
-Version:       2.28.0
-Release:       3
+Version:       2.30.0
+Release:       1
 License:       GPL v2+
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.28/%{name}-%{version}.tar.bz2
-# Source0-md5: 9f4457144d32d4004e0e045240ab51dc
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.30/%{name}-%{version}.tar.bz2
+# Source0-md5: bf7ae6cb4eca85be3e9099a5de94c655
 URL:           http://www.gnome.org/
 BuildRequires: GConf2-devel >= 2.26.0
 BuildRequires: autoconf >= 2.59
@@ -20,6 +20,8 @@ BuildRequires:        libsoup-gnome-devel >= 2.26.0
 BuildRequires: libtool
 BuildRequires: libxml2-devel >= 1:2.6.30
 BuildRequires: pkgconfig >= 1:0.19
+Requires(post,postun): gnome-icon-theme
+Requires(post,postun): gtk+2
 Requires(post,preun):  GConf2
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
@@ -76,6 +78,8 @@ Dokumentacja API biblioteki libgweather.
 
 %prep
 %setup -q
+sed -i s#^en@shaw## po/LINGUAS
+rm po/en@shaw.po
 
 %build
 %{__gtkdocize}
@@ -88,7 +92,8 @@ Dokumentacja API biblioteki libgweather.
 %configure \
        --with-zoneinfo-dir=%{_datadir}/zoneinfo \
        --enable-gtk-doc \
-       --with-html-dir=%{_gtkdocdir}
+       --with-html-dir=%{_gtkdocdir} \
+       --disable-silent-rules
 %{__make} -j1 -C data
 %{__make}
 
@@ -110,12 +115,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
+%update_icon_cache gnome
 %gconf_schema_install gweather.schemas
 
 %preun
 %gconf_schema_uninstall gweather.schemas
 
-%postun        -p /sbin/ldconfig
+%postun
+/sbin/ldconfig
+%update_icon_cache gnome
 
 %files -f libgweather.lang
 %defattr(644,root,root,755)
@@ -126,6 +134,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_datadir}/libgweather
 %{_datadir}/libgweather/Locations.xml
 %{_datadir}/libgweather/locations.dtd
+%{_iconsdir}/gnome/*/status/*.png
+# XXX: gnome-icon-theme doesn't provide this directory
+%{_iconsdir}/gnome/scalable
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.136251 seconds and 4 git commands to generate.