1 Summary: libgweather is a library to access weather information from online services for numerous locations
7 Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.21/%{name}-%{version}.tar.bz2
8 # Source0-md5: 715394c673895b52d1f807f874b66770
9 URL: http://www.gnome.org/
10 BuildRequires: GConf2-devel >= 2.8.0
11 BuildRequires: autoconf >= 2.53
12 BuildRequires: automake >= 1:1.8
13 BuildRequires: glib2-devel >= 2.13.0
14 BuildRequires: gnome-common >= 2.20.0
15 BuildRequires: gnome-vfs2-devel >= 2.15.4
16 BuildRequires: gtk+2-devel >= 2:2.12.0
17 BuildRequires: intltool >= 0.36.1
18 BuildRequires: libtool
19 BuildRequires: pkgconfig
20 # sr@Latn vs. sr@latin
21 Conflicts: glibc-misc < 6:2.7
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 libgweather is a library to access weather information from online
26 services for numerous locations.
29 Summary: Header files for libgweather
30 Group: X11/Development/Libraries
31 Requires: %{name} = %{version}-%{release}
32 Requires: gtk+2-devel >= 2:2.12.0
35 Header files for libgweather.
38 Summary: Static libgweather library
39 Group: Development/Libraries
40 Requires: %{name}-devel = %{version}-%{release}
43 Static libgweather library.
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
63 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
64 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
65 %find_lang libgweather
68 rm -rf $RPM_BUILD_ROOT
72 %gconf_schema_install gweather.schemas
75 %gconf_schema_uninstall gweather.schemas
77 %postun -p /sbin/ldconfig
79 %files -f libgweather.lang
80 %defattr(644,root,root,755)
82 %{_sysconfdir}/gconf/schemas/gweather.schemas
83 %attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
84 %{_datadir}/libgweather
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libgweather.so
89 %{_libdir}/libgweather.la
90 %{_includedir}/libgweather
91 %{_pkgconfigdir}/gweather.pc
94 %defattr(644,root,root,755)
95 %{_libdir}/libgweather.a