]> git.pld-linux.org Git - packages/libgweather.git/blame - libgweather.spec
- gtkdocize
[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
1f4859e3 4Version: 2.26.0
a9867bbe 5Release: 2
c9828fba
PZ
6License: GPL v2+
7Group: X11/Libraries
1f4859e3
PZ
8Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.26/%{name}-%{version}.tar.bz2
9# Source0-md5: b96016d7b35c66cf251189e9851ee252
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}
84%{__aclocal}
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
105%clean
106rm -rf $RPM_BUILD_ROOT
107
108%post
109/sbin/ldconfig
110%gconf_schema_install gweather.schemas
111
112%preun
113%gconf_schema_uninstall gweather.schemas
114
115%postun -p /sbin/ldconfig
116
117%files -f libgweather.lang
118%defattr(644,root,root,755)
119%doc ChangeLog README
c9828fba 120%attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
d8031f1a 121%attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
1b4360b9 122%{_sysconfdir}/gconf/schemas/gweather.schemas
c9828fba
PZ
123%{_datadir}/libgweather
124
125%files devel
126%defattr(644,root,root,755)
127%attr(755,root,root) %{_libdir}/libgweather.so
128%{_libdir}/libgweather.la
129%{_includedir}/libgweather
130%{_pkgconfigdir}/gweather.pc
131
132%files static
133%defattr(644,root,root,755)
134%{_libdir}/libgweather.a
1f4859e3
PZ
135
136%files apidocs
137%defattr(644,root,root,755)
138%{_gtkdocdir}/libgweather
This page took 0.098182 seconds and 4 git commands to generate.