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.30/%{name}-%{version}.tar.bz2
9 # Source0-md5: bf7ae6cb4eca85be3e9099a5de94c655
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,postun): gnome-icon-theme
24 Requires(post,postun): gtk+2
25 Requires(post,preun): GConf2
26 # sr@Latn vs. sr@latin
27 Conflicts: glibc-misc < 6:2.7
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 libgweather is a library to access weather information from online
32 services for numerous locations.
34 %description -l pl.UTF-8
35 libgweather to biblioteka pozwalająca na dostęp do informacji
36 pogodowych z serwisów internetowych dla różnych miejsc.
39 Summary: Header files for libgweather
40 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgweather
41 Group: X11/Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: GConf2-devel >= 2.26.0
44 Requires: gtk+2-devel >= 2:2.16.0
45 Requires: libsoup-devel >= 2.26.0
46 Requires: libxml2-devel >= 1:2.6.30
47 Obsoletes: gnome-applets-devel <= 2.21.4
50 Header files for libgweather.
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe biblioteki libgweather.
56 Summary: Static libgweather library
57 Summary(pl.UTF-8): Statyczna biblioteka libgweather
58 Group: X11/Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 Static libgweather library.
64 %description static -l pl.UTF-8
65 Statyczna biblioteka libgweather.
68 Summary: libgweather API documentation
69 Summary(pl.UTF-8): Dokumentacja API biblioteki libgweather
71 Requires: gtk-doc-common
74 libgweather API documentation.
76 %description apidocs -l pl.UTF-8
77 Dokumentacja API biblioteki libgweather.
81 sed -i s#^en@shaw## po/LINGUAS
93 --with-zoneinfo-dir=%{_datadir}/zoneinfo \
95 --with-html-dir=%{_gtkdocdir} \
96 --disable-silent-rules
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR=$RPM_BUILD_ROOT
106 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
108 %find_lang libgweather
110 find $RPM_BUILD_ROOT -name "Locations.*.xml" | sed 's:'"$RPM_BUILD_ROOT"'::
111 s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather.lang
114 rm -rf $RPM_BUILD_ROOT
118 %update_icon_cache gnome
119 %gconf_schema_install gweather.schemas
122 %gconf_schema_uninstall gweather.schemas
126 %update_icon_cache gnome
128 %files -f libgweather.lang
129 %defattr(644,root,root,755)
130 %doc ChangeLog README
131 %attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
132 %attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
133 %{_sysconfdir}/gconf/schemas/gweather.schemas
134 %dir %{_datadir}/libgweather
135 %{_datadir}/libgweather/Locations.xml
136 %{_datadir}/libgweather/locations.dtd
137 %{_iconsdir}/gnome/*/status/*.png
138 # XXX: gnome-icon-theme doesn't provide this directory
139 %{_iconsdir}/gnome/scalable
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_libdir}/libgweather.so
144 %{_libdir}/libgweather.la
145 %{_includedir}/libgweather
146 %{_pkgconfigdir}/gweather.pc
149 %defattr(644,root,root,755)
150 %{_libdir}/libgweather.a
153 %defattr(644,root,root,755)
154 %{_gtkdocdir}/libgweather