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/3.0/%{name}-%{version}.tar.bz2
9 # Source0-md5: f1a96c6f19c9a0bc6b4e12acc9a8a85d
10 URL: http://www.gnome.org/
11 BuildRequires: GConf2-devel >= 2.26.0
12 BuildRequires: autoconf >= 2.62
13 BuildRequires: automake >= 1:1.9
14 BuildRequires: gettext-devel
15 BuildRequires: glib2-devel >= 1:2.28.0
16 BuildRequires: gnome-common >= 2.20.0
17 BuildRequires: gobject-introspection-devel >= 0.9.5
18 BuildRequires: gtk+3-devel >= 3.0.0
19 BuildRequires: gtk-doc >= 1.9
20 BuildRequires: intltool >= 0.40.3
21 BuildRequires: libsoup-gnome-devel >= 2.26.0
22 BuildRequires: libtool
23 BuildRequires: libxml2-devel >= 1:2.6.30
24 BuildRequires: pkgconfig >= 1:0.19
25 Requires(post,postun): gnome-icon-theme
26 Requires(post,postun): gtk-update-icon-cache
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+3-devel >= 3.0.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} \
96 --disable-silent-rules
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT
107 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
108 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
110 %find_lang libgweather-3.0
112 find $RPM_BUILD_ROOT -name "Locations.*.xml" | sed 's:'"$RPM_BUILD_ROOT"'::
113 s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather-3.0.lang
116 rm -rf $RPM_BUILD_ROOT
120 %update_icon_cache gnome
121 %gconf_schema_install gweather.schemas
124 %gconf_schema_uninstall gweather.schemas
128 %update_icon_cache gnome
130 %files -f libgweather-3.0.lang
131 %defattr(644,root,root,755)
132 %doc ChangeLog README
133 %attr(755,root,root) %{_libdir}/libgweather-3.so.*.*.*
134 %attr(755,root,root) %ghost %{_libdir}/libgweather-3.so.0
135 %{_sysconfdir}/gconf/schemas/gweather.schemas
136 %dir %{_datadir}/libgweather
137 %{_datadir}/libgweather/Locations.xml
138 %{_datadir}/libgweather/locations.dtd
139 %{_iconsdir}/gnome/*/status/*.png
140 # XXX: gnome-icon-theme doesn't provide this directory
141 %{_iconsdir}/gnome/scalable
142 %{_libdir}/girepository-1.0/GWeather-3.0.typelib
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_libdir}/libgweather-3.so
147 %{_includedir}/libgweather-3.0
148 %{_pkgconfigdir}/gweather-3.0.pc
149 %{_datadir}/gir-1.0/GWeather-3.0.gir
152 %defattr(644,root,root,755)
153 %{_libdir}/libgweather-3.a
156 %defattr(644,root,root,755)
157 %{_gtkdocdir}/libgweather-3.0