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