1 Summary: Library to access weather information from online services for numerous locations
2 Summary(pl.UTF-8): Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.28/%{name}-%{version}.tar.bz2
9 # Source0-md5: 9f4457144d32d4004e0e045240ab51dc
10 URL: http://www.gnome.org/
11 BuildRequires: GConf2-devel >= 2.26.0
12 BuildRequires: autoconf >= 2.59
13 BuildRequires: automake >= 1:1.9
14 BuildRequires: gettext-devel
15 BuildRequires: gnome-common >= 2.20.0
16 BuildRequires: gtk+2-devel >= 2:2.16.0
17 BuildRequires: gtk-doc >= 1.9
18 BuildRequires: intltool >= 0.40.3
19 BuildRequires: libsoup-gnome-devel >= 2.26.0
20 BuildRequires: libtool
21 BuildRequires: libxml2-devel >= 1:2.6.30
22 BuildRequires: pkgconfig >= 1:0.19
23 Requires(post,preun): GConf2
24 # sr@Latn vs. sr@latin
25 Conflicts: glibc-misc < 6:2.7
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 libgweather is a library to access weather information from online
30 services for numerous locations.
32 %description -l pl.UTF-8
33 libgweather to biblioteka pozwalająca na dostęp do informacji
34 pogodowych z serwisów internetowych dla różnych miejsc.
37 Summary: Header files for libgweather
38 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgweather
39 Group: X11/Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: GConf2-devel >= 2.26.0
42 Requires: gtk+2-devel >= 2:2.16.0
43 Requires: libsoup-devel >= 2.26.0
44 Requires: libxml2-devel >= 1:2.6.30
45 Obsoletes: gnome-applets-devel <= 2.21.4
48 Header files for libgweather.
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe biblioteki libgweather.
54 Summary: Static libgweather library
55 Summary(pl.UTF-8): Statyczna biblioteka libgweather
56 Group: X11/Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static libgweather library.
62 %description static -l pl.UTF-8
63 Statyczna biblioteka libgweather.
66 Summary: libgweather API documentation
67 Summary(pl.UTF-8): Dokumentacja API biblioteki libgweather
69 Requires: gtk-doc-common
72 libgweather API documentation.
74 %description apidocs -l pl.UTF-8
75 Dokumentacja API biblioteki libgweather.
89 --with-zoneinfo-dir=%{_datadir}/zoneinfo \
91 --with-html-dir=%{_gtkdocdir}
96 rm -rf $RPM_BUILD_ROOT
99 DESTDIR=$RPM_BUILD_ROOT
101 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
103 %find_lang libgweather
105 find $RPM_BUILD_ROOT -name "Locations.*.xml" | sed 's:'"$RPM_BUILD_ROOT"'::
106 s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather.lang
109 rm -rf $RPM_BUILD_ROOT
113 %gconf_schema_install gweather.schemas
116 %gconf_schema_uninstall gweather.schemas
118 %postun -p /sbin/ldconfig
120 %files -f libgweather.lang
121 %defattr(644,root,root,755)
122 %doc ChangeLog README
123 %attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
124 %attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
125 %{_sysconfdir}/gconf/schemas/gweather.schemas
126 %dir %{_datadir}/libgweather
127 %{_datadir}/libgweather/Locations.xml
128 %{_datadir}/libgweather/locations.dtd
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/libgweather.so
133 %{_libdir}/libgweather.la
134 %{_includedir}/libgweather
135 %{_pkgconfigdir}/gweather.pc
138 %defattr(644,root,root,755)
139 %{_libdir}/libgweather.a
142 %defattr(644,root,root,755)
143 %{_gtkdocdir}/libgweather