]> git.pld-linux.org Git - packages/libgweather.git/blob - libgweather.spec
- initial PLD release
[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.8.0
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1:1.8
13 BuildRequires:  glib2-devel >= 2.13.0
14 BuildRequires:  gnome-common >= 2.20.0
15 BuildRequires:  gnome-vfs2-devel >= 2.15.4
16 BuildRequires:  gtk+2-devel >= 2:2.12.0
17 BuildRequires:  intltool >= 0.36.1
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 # sr@Latn vs. sr@latin
21 Conflicts:      glibc-misc < 6:2.7
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 libgweather is a library to access weather information from online
26 services for numerous locations.
27
28 %package devel
29 Summary:        Header files for libgweather
30 Group:          X11/Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       gtk+2-devel >= 2:2.12.0
33
34 %description devel
35 Header files for libgweather.
36
37 %package static
38 Summary:        Static libgweather library
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static libgweather library.
44
45 %prep
46 %setup -q
47
48 %build
49 %{__intltoolize}
50 %{__libtoolize}
51 %{__aclocal}
52 %{__autoconf}
53 %{__automake}
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
64         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
65 %find_lang libgweather
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 /sbin/ldconfig
72 %gconf_schema_install gweather.schemas
73
74 %preun
75 %gconf_schema_uninstall gweather.schemas
76
77 %postun -p /sbin/ldconfig
78
79 %files -f libgweather.lang
80 %defattr(644,root,root,755)
81 %doc ChangeLog README
82 %{_sysconfdir}/gconf/schemas/gweather.schemas
83 %attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
84 %{_datadir}/libgweather
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libgweather.so
89 %{_libdir}/libgweather.la
90 %{_includedir}/libgweather
91 %{_pkgconfigdir}/gweather.pc
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libgweather.a
This page took 0.087828 seconds and 4 git commands to generate.