%define apiver %(echo %version | cut -d. -f 1).0 %define majver %(echo %version | cut -d. -f 1-2) Name: libgweather Version: 3.10.1 Release: 1mamba Summary: GNOME weather library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: http://ftp.acc.umu.se/pub/gnome/sources/libgweather/%{majver}/libgweather-%{version}.tar.xz License: GPL BuildRequires: libgnome-vfs-devel ## AUTOBUILDREQ-BEGIN BuildRequires: GConf-devel BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libdbus-devel BuildRequires: libdbus-glib-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libGL-devel BuildRequires: libglib-devel BuildRequires: libgnome-keyring-devel BuildRequires: libgpg-error-devel BuildRequires: libgtk-devel BuildRequires: libpango-devel BuildRequires: libpixman-devel BuildRequires: libpng-devel BuildRequires: libpthread-stubs-devel BuildRequires: libselinux-devel BuildRequires: libsoup-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libXdmcp-devel BuildRequires: libxml2-devel BuildRequires: libXrender-devel BuildRequires: libz-devel BuildRequires: ORBit2-devel BuildRequires: udev-devel ## AUTOBUILDREQ-END BuildRequires: glade-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description GNOME weather library. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel GNOME weather library. This package contains static libraries and header files need for development. %prep %setup -q %build %configure %make -j1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name}-locations %find_lang %{name}-%{apiver} cat %{name}-locations.lang >> %{name}-%{apiver}.lang %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}-%{apiver}.lang %defattr(-,root,root) #%{_sysconfdir}/gconf/schemas/gweather.schemas %{_libdir}/libgweather-3.so.* %{_libdir}/girepository-1.0/GWeather-3.0.typelib %{_datadir}/glib-2.0/schemas/org.gnome.GWeather.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.GWeather.gschema.xml %{_datadir}/icons/gnome/*/status/*.png %{_datadir}/icons/gnome/scalable/status/*.svg %{_datadir}/libgweather/*.xml %{_datadir}/libgweather/locations.dtd %doc COPYING %files devel %defattr(-,root,root) %{_includedir}/libgweather-%{apiver}/libgweather/*.h %{_datadir}/glade/catalogs/libgweather.xml %{_datadir}/gtk-doc/html/libgweather-%{apiver}/* %{_libdir}/libgweather-3.la %{_libdir}/libgweather-3.so %{_datadir}/vala/vapi/gweather-3.0.vapi %{_datadir}/gir-1.0/GWeather-3.0.gir %{_libdir}/pkgconfig/*.pc %doc ChangeLog NEWS README %changelog * Tue Oct 29 2013 Automatic Build System 3.10.1-1mamba - automatic version update by autodist * Tue May 14 2013 Automatic Build System 3.8.2-1mamba - automatic version update by autodist * Tue Apr 16 2013 Automatic Build System 3.8.1-1mamba - automatic version update by autodist * Wed Mar 27 2013 Automatic Build System 3.8.0-1mamba - automatic version update by autodist * Tue Nov 13 2012 Automatic Build System 3.6.2-1mamba - automatic version update by autodist * Mon Oct 15 2012 Automatic Build System 3.6.1-1mamba - automatic version update by autodist * Thu Sep 27 2012 Automatic Build System 3.6.0-1mamba - automatic version update by autodist * Sun Apr 01 2012 Automatic Build System 3.4.1-1mamba - update to 3.4.1 * Tue Oct 25 2011 Automatic Build System 3.2.1-1mamba - automatic version update by autodist * Sat Oct 01 2011 Automatic Build System 3.2.0-1mamba - automatic version update by autodist * Sun Jul 24 2011 Silvan Calarco 3.0.2-2mamba - rebuilt against recent libproxy * Tue May 24 2011 Automatic Build System 3.0.2-1mamba - automatic update by autodist * Thu Apr 07 2011 Automatic Build System 3.0.0-1mamba - automatic update by autodist * Mon Sep 27 2010 Automatic Build System 2.30.3-1mamba - automatic update to 2.30.3 by autodist * Tue Jun 22 2010 Automatic Build System 2.30.2-1mamba - automatic update to 2.30.2 by autodist * Sun May 30 2010 Automatic Build System 2.30.0-1mamba - automatic update to 2.30.0 by autodist * Fri Sep 25 2009 Automatic Build System 2.28.0-1mamba - automatic update to 2.28.0 by autodist * Thu Jul 02 2009 Automatic Build System 2.26.2.1-1mamba - automatic update by autodist * Fri Apr 17 2009 Silvan Calarco 2.26.1-1mamba - automatic update by autodist * Fri Mar 27 2009 Silvan Calarco 2.26.0-1mamba - automatic update to 2.26.0 by autodist * Thu Jan 22 2009 Silvan Calarco 2.24.3-1mamba - automatic update by autodist * Fri Sep 26 2008 gil 2.24.0-1mamba - update to 2.24.0 * Tue Apr 22 2008 Silvan Calarco 2.22.1.2-1mamba - package created by autospec