]> git.pld-linux.org Git - packages/libgweather.git/blame_incremental - libgweather.spec
- gtkdocize
[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: 2.26.0
5Release: 2
6License: GPL v2+
7Group: X11/Libraries
8Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.26/%{name}-%{version}.tar.bz2
9# Source0-md5: b96016d7b35c66cf251189e9851ee252
10URL: http://www.gnome.org/
11BuildRequires: GConf2-devel >= 2.26.0
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake >= 1:1.9
14BuildRequires: gettext-devel
15BuildRequires: gnome-common >= 2.20.0
16BuildRequires: gtk+2-devel >= 2:2.16.0
17BuildRequires: gtk-doc >= 1.9
18BuildRequires: intltool >= 0.40.0
19BuildRequires: libsoup-gnome-devel >= 2.26.0
20BuildRequires: libtool
21BuildRequires: libxml2-devel >= 1:2.6.30
22BuildRequires: pkgconfig >= 1:0.19
23Requires(post,preun): GConf2
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
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
36%package devel
37Summary: Header files for libgweather
38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgweather
39Group: X11/Development/Libraries
40Requires: %{name} = %{version}-%{release}
41Requires: GConf2-devel >= 2.26.0
42Requires: gtk+2-devel >= 2:2.16.0
43Requires: libsoup-devel >= 2.26.0
44Requires: libxml2-devel >= 1:2.6.30
45Obsoletes: gnome-applets-devel <= 2.21.4
46
47%description devel
48Header files for libgweather.
49
50%description devel -l pl.UTF-8
51Pliki nagłówkowe biblioteki libgweather.
52
53%package static
54Summary: Static libgweather library
55Summary(pl.UTF-8): Statyczna biblioteka libgweather
56Group: X11/Development/Libraries
57Requires: %{name}-devel = %{version}-%{release}
58
59%description static
60Static libgweather library.
61
62%description static -l pl.UTF-8
63Statyczna biblioteka libgweather.
64
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
77%prep
78%setup -q
79
80%build
81%{__gtkdocize}
82%{__intltoolize}
83%{__libtoolize}
84%{__aclocal}
85%{__autoconf}
86%{__autoheader}
87%{__automake}
88%configure \
89 --with-zoneinfo-dir=%{_datadir}/zoneinfo \
90 --enable-gtk-doc \
91 --with-html-dir=%{_gtkdocdir}
92%{__make} -j1 -C data
93%{__make}
94
95%install
96rm -rf $RPM_BUILD_ROOT
97
98%{__make} install \
99 DESTDIR=$RPM_BUILD_ROOT
100
101rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
102
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
120%attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
121%attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
122%{_sysconfdir}/gconf/schemas/gweather.schemas
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
135
136%files apidocs
137%defattr(644,root,root,755)
138%{_gtkdocdir}/libgweather
This page took 0.025985 seconds and 4 git commands to generate.