]> git.pld-linux.org Git - packages/libgweather.git/blob - libgweather.spec
- updated to 2.24.3
[packages/libgweather.git] / libgweather.spec
1 Summary:        Library to access weather information from online services for numerous locations
2 Summary(pl.UTF-8):      Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
3 Name:           libgweather
4 Version:        2.24.3
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.24/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ab29ea93a87339bb1571434fe2086789
10 URL:            http://www.gnome.org/
11 BuildRequires:  GConf2-devel >= 2.24.0
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  gettext-devel
15 BuildRequires:  gnome-common >= 2.20.0
16 BuildRequires:  gtk+2-devel >= 2:2.14.0
17 BuildRequires:  intltool >= 0.40.0
18 BuildRequires:  libsoup-devel >= 2.4.0
19 BuildRequires:  libtool
20 BuildRequires:  libxml2-devel >= 1:2.6.30
21 BuildRequires:  pkgconfig >= 1:0.19
22 Requires(post,preun):   GConf2
23 # sr@Latn vs. sr@latin
24 Conflicts:      glibc-misc < 6:2.7
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 libgweather is a library to access weather information from online
29 services for numerous locations.
30
31 %description -l pl.UTF-8
32 libgweather to biblioteka pozwalająca na dostęp do informacji
33 pogodowych z serwisów internetowych dla różnych miejsc.
34
35 %package devel
36 Summary:        Header files for libgweather
37 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libgweather
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       GConf2-devel >= 2.24.0
41 Requires:       gtk+2-devel >= 2:2.14.0
42 Requires:       libsoup-devel >= 2.4.0
43 Requires:       libxml2-devel >= 1:2.6.30
44 Obsoletes:      gnome-applets-devel <= 2.21.4
45
46 %description devel
47 Header files for libgweather.
48
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe biblioteki libgweather.
51
52 %package static
53 Summary:        Static libgweather library
54 Summary(pl.UTF-8):      Statyczna biblioteka libgweather
55 Group:          X11/Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 Static libgweather library.
60
61 %description static -l pl.UTF-8
62 Statyczna biblioteka libgweather.
63
64 %prep
65 %setup -q
66
67 %build
68 %{__intltoolize}
69 %{__libtoolize}
70 %{__aclocal}
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --with-zoneinfo-dir=%{_datadir}/zoneinfo
76 %{__make} -j1 -C data
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
86
87 %find_lang libgweather
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post
93 /sbin/ldconfig
94 %gconf_schema_install gweather.schemas
95
96 %preun
97 %gconf_schema_uninstall gweather.schemas
98
99 %postun -p /sbin/ldconfig
100
101 %files -f libgweather.lang
102 %defattr(644,root,root,755)
103 %doc ChangeLog README
104 %attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libgweather.so.1
106 %{_sysconfdir}/gconf/schemas/gweather.schemas
107 %{_datadir}/libgweather
108
109 %files devel
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/libgweather.so
112 %{_libdir}/libgweather.la
113 %{_includedir}/libgweather
114 %{_pkgconfigdir}/gweather.pc
115
116 %files static
117 %defattr(644,root,root,755)
118 %{_libdir}/libgweather.a
This page took 0.066645 seconds and 4 git commands to generate.