]> git.pld-linux.org Git - packages/libgweather.git/blame_incremental - libgweather.spec
- BR and R update
[packages/libgweather.git] / libgweather.spec
... / ...
CommitLineData
1Summary: Library to access weather information from online services for numerous locations
2Summary(pl.UTF-8): Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
3Name: libgweather
4Version: 3.4.1
5Release: 1
6License: GPL v2+
7Group: X11/Libraries
8Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.4/%{name}-%{version}.tar.xz
9# Source0-md5: 58ddea04842bd7ff122c7eae29a65815
10URL: http://www.gnome.org/
11BuildRequires: GConf2-devel >= 2.8.0
12BuildRequires: autoconf >= 2.64
13BuildRequires: automake >= 1:1.11
14BuildRequires: gettext-devel
15BuildRequires: glib2-devel >= 1:2.14.0
16BuildRequires: gnome-common >= 2.20.0
17BuildRequires: gobject-introspection-devel >= 0.10.0
18BuildRequires: gtk+3-devel >= 3.0.0
19BuildRequires: gtk-doc >= 1.11
20BuildRequires: intltool >= 0.40.6
21BuildRequires: libsoup-gnome-devel >= 2.26.0
22BuildRequires: libtool >= 2:2.2.6
23BuildRequires: libxml2-devel >= 1:2.6.30
24BuildRequires: pkgconfig >= 1:0.19
25BuildRequires: tar >= 1:1.22
26BuildRequires: xz
27Requires(post,postun): gnome-icon-theme
28Requires(post,postun): gnome-icon-theme-symbolic
29Requires(post,postun): gtk-update-icon-cache
30Requires(post,preun): GConf2
31# sr@Latn vs. sr@latin
32Conflicts: glibc-misc < 6:2.7
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36libgweather is a library to access weather information from online
37services for numerous locations.
38
39%description -l pl.UTF-8
40libgweather to biblioteka pozwalająca na dostęp do informacji
41pogodowych z serwisów internetowych dla różnych miejsc.
42
43%package devel
44Summary: Header files for libgweather
45Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgweather
46Group: X11/Development/Libraries
47Requires: %{name} = %{version}-%{release}
48Requires: GConf2-devel >= 2.8.0
49Requires: gtk+3-devel >= 3.0.0
50Requires: libsoup-devel >= 2.26.0
51Requires: libxml2-devel >= 1:2.6.30
52Obsoletes: gnome-applets-devel <= 2.21.4
53
54%description devel
55Header files for libgweather.
56
57%description devel -l pl.UTF-8
58Pliki nagłówkowe biblioteki libgweather.
59
60%package static
61Summary: Static libgweather library
62Summary(pl.UTF-8): Statyczna biblioteka libgweather
63Group: X11/Development/Libraries
64Requires: %{name}-devel = %{version}-%{release}
65
66%description static
67Static libgweather library.
68
69%description static -l pl.UTF-8
70Statyczna biblioteka libgweather.
71
72%package apidocs
73Summary: libgweather API documentation
74Summary(pl.UTF-8): Dokumentacja API biblioteki libgweather
75Group: Documentation
76Requires: gtk-doc-common
77
78%description apidocs
79libgweather API documentation.
80
81%description apidocs -l pl.UTF-8
82Dokumentacja API biblioteki libgweather.
83
84%prep
85%setup -q
86
87%build
88%{__gtkdocize}
89%{__intltoolize}
90%{__libtoolize}
91%{__aclocal} -I m4
92%{__autoconf}
93%{__autoheader}
94%{__automake}
95%configure \
96 --with-zoneinfo-dir=%{_datadir}/zoneinfo \
97 --enable-gtk-doc \
98 --with-html-dir=%{_gtkdocdir} \
99 --disable-silent-rules \
100 --enable-static
101
102%{__make} -j1 -C data
103%{__make}
104
105%install
106rm -rf $RPM_BUILD_ROOT
107
108%{__make} install \
109 DESTDIR=$RPM_BUILD_ROOT
110
111%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
112%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
113
114%find_lang libgweather-3.0
115
116find $RPM_BUILD_ROOT -name "Locations.*.xml" | sed 's:'"$RPM_BUILD_ROOT"'::
117s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather-3.0.lang
118
119%clean
120rm -rf $RPM_BUILD_ROOT
121
122%post
123/sbin/ldconfig
124%update_icon_cache gnome
125%gconf_schema_install gweather.schemas
126
127%preun
128%gconf_schema_uninstall gweather.schemas
129
130%postun
131/sbin/ldconfig
132%update_icon_cache gnome
133
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
146
147%files devel
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
153
154%files static
155%defattr(644,root,root,755)
156%{_libdir}/libgweather-3.a
157
158%files apidocs
159%defattr(644,root,root,755)
160%{_gtkdocdir}/libgweather-3.0
This page took 0.095758 seconds and 4 git commands to generate.