]> git.pld-linux.org Git - packages/libgweather.git/blame - libgweather.spec
- updated to 2.26.2.1
[packages/libgweather.git] / libgweather.spec
CommitLineData
244020ad
JB
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
c9828fba 3Name: libgweather
8726bc62
MB
4Version: 2.26.2.1
5Release: 1
c9828fba
PZ
6License: GPL v2+
7Group: X11/Libraries
1f4859e3 8Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.26/%{name}-%{version}.tar.bz2
8726bc62 9# Source0-md5: cef0447b62235c4662aa9691dd9a6c92
c9828fba 10URL: http://www.gnome.org/
1f4859e3 11BuildRequires: GConf2-devel >= 2.26.0
1b4360b9
MB
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake >= 1:1.9
14BuildRequires: gettext-devel
c9828fba 15BuildRequires: gnome-common >= 2.20.0
1f4859e3
PZ
16BuildRequires: gtk+2-devel >= 2:2.16.0
17BuildRequires: gtk-doc >= 1.9
ddb8530d 18BuildRequires: intltool >= 0.40.0
1f4859e3 19BuildRequires: libsoup-gnome-devel >= 2.26.0
c9828fba 20BuildRequires: libtool
ddb8530d 21BuildRequires: libxml2-devel >= 1:2.6.30
1b4360b9 22BuildRequires: pkgconfig >= 1:0.19
1b4360b9 23Requires(post,preun): GConf2
c9828fba
PZ
24# sr@Latn vs. sr@latin
25Conflicts: glibc-misc < 6:2.7
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29libgweather is a library to access weather information from online
30services for numerous locations.
31
244020ad
JB
32%description -l pl.UTF-8
33libgweather to biblioteka pozwalająca na dostęp do informacji
34pogodowych z serwisów internetowych dla różnych miejsc.
35
c9828fba
PZ
36%package devel
37Summary: Header files for libgweather
244020ad 38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgweather
c9828fba
PZ
39Group: X11/Development/Libraries
40Requires: %{name} = %{version}-%{release}
1f4859e3
PZ
41Requires: GConf2-devel >= 2.26.0
42Requires: gtk+2-devel >= 2:2.16.0
43Requires: libsoup-devel >= 2.26.0
ddb8530d 44Requires: libxml2-devel >= 1:2.6.30
7da92f12 45Obsoletes: gnome-applets-devel <= 2.21.4
c9828fba
PZ
46
47%description devel
48Header files for libgweather.
49
244020ad
JB
50%description devel -l pl.UTF-8
51Pliki nagłówkowe biblioteki libgweather.
52
c9828fba
PZ
53%package static
54Summary: Static libgweather library
244020ad 55Summary(pl.UTF-8): Statyczna biblioteka libgweather
1b4360b9 56Group: X11/Development/Libraries
c9828fba
PZ
57Requires: %{name}-devel = %{version}-%{release}
58
59%description static
60Static libgweather library.
61
244020ad
JB
62%description static -l pl.UTF-8
63Statyczna biblioteka libgweather.
64
1f4859e3
PZ
65%package apidocs
66Summary: libgweather API documentation
67Summary(pl.UTF-8): Dokumentacja API biblioteki libgweather
68Group: Documentation
69Requires: gtk-doc-common
70
71%description apidocs
72libgweather API documentation.
73
74%description apidocs -l pl.UTF-8
75Dokumentacja API biblioteki libgweather.
76
c9828fba
PZ
77%prep
78%setup -q
79
80%build
a9867bbe 81%{__gtkdocize}
c9828fba
PZ
82%{__intltoolize}
83%{__libtoolize}
8726bc62 84%{__aclocal} -I m4
c9828fba 85%{__autoconf}
1b4360b9 86%{__autoheader}
c9828fba 87%{__automake}
2715db3e 88%configure \
1f4859e3
PZ
89 --with-zoneinfo-dir=%{_datadir}/zoneinfo \
90 --enable-gtk-doc \
91 --with-html-dir=%{_gtkdocdir}
9fae6b8b
SS
92%{__make} -j1 -C data
93%{__make}
c9828fba
PZ
94
95%install
96rm -rf $RPM_BUILD_ROOT
97
98%{__make} install \
99 DESTDIR=$RPM_BUILD_ROOT
100
bea62c18 101rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
1b4360b9 102
c9828fba
PZ
103%find_lang libgweather
104
4d39f76c
MB
105find $RPM_BUILD_ROOT -name "Locations.*.xml" | sed 's:'"$RPM_BUILD_ROOT"'::
106s:\(.*\)/Locations\.\([^.]*\)\.xml:%lang(\2) \1/Locations.\2.xml:' >> libgweather.lang
107
c9828fba
PZ
108%clean
109rm -rf $RPM_BUILD_ROOT
110
111%post
112/sbin/ldconfig
113%gconf_schema_install gweather.schemas
114
115%preun
116%gconf_schema_uninstall gweather.schemas
117
118%postun -p /sbin/ldconfig
119
120%files -f libgweather.lang
121%defattr(644,root,root,755)
122%doc ChangeLog README
c9828fba 123%attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
d8031f1a 124%attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
1b4360b9 125%{_sysconfdir}/gconf/schemas/gweather.schemas
4d39f76c
MB
126%dir %{_datadir}/libgweather
127%{_datadir}/libgweather/Locations.xml
128%{_datadir}/libgweather/locations.dtd
c9828fba
PZ
129
130%files devel
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
136
137%files static
138%defattr(644,root,root,755)
139%{_libdir}/libgweather.a
1f4859e3
PZ
140
141%files apidocs
142%defattr(644,root,root,755)
143%{_gtkdocdir}/libgweather
This page took 0.087741 seconds and 4 git commands to generate.