2 # - this package is huge (80MB for library!), package locations by l10n <> iso639-1 map like
3 # kde4-kdebase-runtime has done it partially
4 Summary: Library to access weather information from online services for numerous locations
5 Summary(pl.UTF-8): Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
11 Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.26/%{name}-%{version}.tar.bz2
12 # Source0-md5: b96016d7b35c66cf251189e9851ee252
13 Source1: l10n-iso639-1
14 URL: http://www.gnome.org/
15 BuildRequires: GConf2-devel >= 2.26.0
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake >= 1:1.9
18 BuildRequires: gettext-devel
19 BuildRequires: gnome-common >= 2.20.0
20 BuildRequires: gtk+2-devel >= 2:2.16.0
21 BuildRequires: gtk-doc >= 1.9
22 BuildRequires: intltool >= 0.40.0
23 BuildRequires: libsoup-gnome-devel >= 2.26.0
24 BuildRequires: libtool
25 BuildRequires: libxml2-devel >= 1:2.6.30
26 BuildRequires: pkgconfig >= 1:0.19
27 Requires(post,preun): GConf2
28 # sr@Latn vs. sr@latin
29 Conflicts: glibc-misc < 6:2.7
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 libgweather is a library to access weather information from online
34 services for numerous locations.
36 %description -l pl.UTF-8
37 libgweather to biblioteka pozwalająca na dostęp do informacji
38 pogodowych z serwisów internetowych dla różnych miejsc.
41 Summary: Header files for libgweather
42 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgweather
43 Group: X11/Development/Libraries
44 Requires: %{name} = %{version}-%{release}
45 Requires: GConf2-devel >= 2.26.0
46 Requires: gtk+2-devel >= 2:2.16.0
47 Requires: libsoup-devel >= 2.26.0
48 Requires: libxml2-devel >= 1:2.6.30
49 Obsoletes: gnome-applets-devel <= 2.21.4
52 Header files for libgweather.
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki libgweather.
58 Summary: Static libgweather library
59 Summary(pl.UTF-8): Statyczna biblioteka libgweather
60 Group: X11/Development/Libraries
61 Requires: %{name}-devel = %{version}-%{release}
64 Static libgweather library.
66 %description static -l pl.UTF-8
67 Statyczna biblioteka libgweather.
70 Summary: libgweather API documentation
71 Summary(pl.UTF-8): Dokumentacja API biblioteki libgweather
73 Requires: gtk-doc-common
76 libgweather API documentation.
78 %description apidocs -l pl.UTF-8
79 Dokumentacja API biblioteki libgweather.
93 --with-zoneinfo-dir=%{_datadir}/zoneinfo \
95 --with-html-dir=%{_gtkdocdir}
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
105 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
107 %find_lang libgweather
110 rm -rf $RPM_BUILD_ROOT
114 %gconf_schema_install gweather.schemas
117 %gconf_schema_uninstall gweather.schemas
119 %postun -p /sbin/ldconfig
121 %files -f libgweather.lang
122 %defattr(644,root,root,755)
123 %doc ChangeLog README
124 %attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
125 %attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
126 %{_sysconfdir}/gconf/schemas/gweather.schemas
127 %{_datadir}/libgweather
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/libgweather.so
132 %{_libdir}/libgweather.la
133 %{_includedir}/libgweather
134 %{_pkgconfigdir}/gweather.pc
137 %defattr(644,root,root,755)
138 %{_libdir}/libgweather.a
141 %defattr(644,root,root,755)
142 %{_gtkdocdir}/libgweather