]> git.pld-linux.org Git - packages/libgweather.git/blob - libgweather.spec
- revised deps
[packages/libgweather.git] / libgweather.spec
1 Summary:        libgweather is a library to access weather information from online services for numerous locations
2 Name:           libgweather
3 Version:        2.21.2
4 Release:        1
5 License:        GPL v2+
6 Group:          X11/Libraries
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.21/%{name}-%{version}.tar.bz2
8 # Source0-md5:  715394c673895b52d1f807f874b66770
9 URL:            http://www.gnome.org/
10 BuildRequires:  GConf2-devel >= 2.21.90
11 BuildRequires:  autoconf >= 2.59
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  gettext-devel
14 BuildRequires:  gnome-common >= 2.20.0
15 BuildRequires:  gnome-vfs2-devel >= 2.20.0
16 BuildRequires:  gtk+2-devel >= 2:2.12.5
17 BuildRequires:  intltool >= 0.37.0
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig >= 1:0.19
20 BuildRequires:  sed >= 4.0
21 Requires(post,preun):   GConf2
22 # sr@Latn vs. sr@latin
23 Conflicts:      glibc-misc < 6:2.7
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 libgweather is a library to access weather information from online
28 services for numerous locations.
29
30 %package devel
31 Summary:        Header files for libgweather
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       gnome-vfs2-devel >= 2.20.0
35 Requires:       gtk+2-devel >= 2:2.12.5
36 Obsoletes:      gnome-applets-devel <= 2.21.4
37
38 %description devel
39 Header files for libgweather.
40
41 %package static
42 Summary:        Static libgweather library
43 Group:          X11/Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static libgweather library.
48
49 %prep
50 %setup -q
51
52 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
53 mv po/sr@{Latn,latin}.po
54
55 %build
56 %{__intltoolize}
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
72
73 %find_lang libgweather
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 /sbin/ldconfig
80 %gconf_schema_install gweather.schemas
81
82 %preun
83 %gconf_schema_uninstall gweather.schemas
84
85 %postun -p /sbin/ldconfig
86
87 %files -f libgweather.lang
88 %defattr(644,root,root,755)
89 %doc ChangeLog README
90 %attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libgweather.so.0
92 %{_sysconfdir}/gconf/schemas/gweather.schemas
93 %{_datadir}/libgweather
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libgweather.so
98 %{_libdir}/libgweather.la
99 %{_includedir}/libgweather
100 %{_pkgconfigdir}/gweather.pc
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/libgweather.a
This page took 0.073923 seconds and 4 git commands to generate.