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.2/%{name}-%{version}.tar.xz
9 # Source0-md5: de91f7ed59508d2b96c319e19e27fda5
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.10.0
18 BuildRequires: gtk+3-devel >= 3.0.0
19 BuildRequires: gtk-doc >= 1.9
20 BuildRequires: intltool >= 0.40.6
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 BuildRequires: tar >= 1:1.22
27 Requires(post,postun): gnome-icon-theme
28 Requires(post,postun): gnome-icon-theme-symbolic
29 Requires(post,postun): gtk-update-icon-cache
30 Requires(post,preun): GConf2
31 # sr@Latn vs. sr@latin
32 Conflicts: glibc-misc < 6:2.7
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 libgweather is a library to access weather information from online
37 services for numerous locations.
39 %description -l pl.UTF-8
40 libgweather to biblioteka pozwalająca na dostęp do informacji
41 pogodowych z serwisów internetowych dla różnych miejsc.
44 Summary: Header files for libgweather
45 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgweather
46 Group: X11/Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: GConf2-devel >= 2.26.0
49 Requires: gtk+3-devel >= 3.0.0
50 Requires: libsoup-devel >= 2.26.0
51 Requires: libxml2-devel >= 1:2.6.30
52 Obsoletes: gnome-applets-devel <= 2.21.4
55 Header files for libgweather.
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki libgweather.
61 Summary: Static libgweather library
62 Summary(pl.UTF-8): Statyczna biblioteka libgweather
63 Group: X11/Development/Libraries
64 Requires: %{name}-devel = %{version}-%{release}
67 Static libgweather library.
69 %description static -l pl.UTF-8
70 Statyczna biblioteka libgweather.
73 Summary: libgweather API documentation
74 Summary(pl.UTF-8): Dokumentacja API biblioteki libgweather
76 Requires: gtk-doc-common
79 libgweather API documentation.
81 %description apidocs -l pl.UTF-8
82 Dokumentacja API biblioteki libgweather.
96 --with-zoneinfo-dir=%{_datadir}/zoneinfo \
98 --with-html-dir=%{_gtkdocdir} \
99 --disable-silent-rules \
102 %{__make} -j1 -C data
106 rm -rf $RPM_BUILD_ROOT
109 DESTDIR=$RPM_BUILD_ROOT
111 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
112 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
114 %find_lang libgweather-3.0
116 find $RPM_BUILD_ROOT -name "Locations.*.xml" | sed 's:'"$RPM_BUILD_ROOT"'::
117 s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather-3.0.lang
120 rm -rf $RPM_BUILD_ROOT
124 %update_icon_cache gnome
125 %gconf_schema_install gweather.schemas
128 %gconf_schema_uninstall gweather.schemas
132 %update_icon_cache gnome
134 %files -f libgweather-3.0.lang
135 %defattr(644,root,root,755)
136 %doc ChangeLog README
137 %attr(755,root,root) %{_libdir}/libgweather-3.so.*.*.*
138 %attr(755,root,root) %ghost %{_libdir}/libgweather-3.so.0
139 %{_sysconfdir}/gconf/schemas/gweather.schemas
140 %dir %{_datadir}/libgweather
141 %{_datadir}/libgweather/Locations.xml
142 %{_datadir}/libgweather/locations.dtd
143 %{_iconsdir}/gnome/*/status/*.png
144 %{_iconsdir}/gnome/scalable/status/*.svg
145 %{_libdir}/girepository-1.0/GWeather-3.0.typelib
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libgweather-3.so
150 %{_includedir}/libgweather-3.0
151 %{_pkgconfigdir}/gweather-3.0.pc
152 %{_datadir}/gir-1.0/GWeather-3.0.gir
155 %defattr(644,root,root,755)
156 %{_libdir}/libgweather-3.a
159 %defattr(644,root,root,755)
160 %{_gtkdocdir}/libgweather-3.0