]> git.pld-linux.org Git - packages/libgweather.git/blob - libgweather.spec
- updated to 2.21.92
[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.21.92
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.21/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ce603722f9b427d89fe97b7a4f8cf9e8
10 URL:            http://www.gnome.org/
11 BuildRequires:  GConf2-devel >= 2.21.90
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  gettext-devel
15 BuildRequires:  gnome-common >= 2.20.0
16 BuildRequires:  gnome-vfs2-devel >= 2.20.0
17 BuildRequires:  gtk+2-devel >= 2:2.12.5
18 BuildRequires:  intltool >= 0.37.0
19 BuildRequires:  libtool
20 BuildRequires:  pkgconfig >= 1:0.19
21 BuildRequires:  sed >= 4.0
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:       gnome-vfs2-devel >= 2.20.0
41 Requires:       gtk+2-devel >= 2:2.12.5
42 Obsoletes:      gnome-applets-devel <= 2.21.4
43
44 %description devel
45 Header files for libgweather.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki libgweather.
49
50 %package static
51 Summary:        Static libgweather library
52 Summary(pl.UTF-8):      Statyczna biblioteka libgweather
53 Group:          X11/Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 Static libgweather library.
58
59 %description static -l pl.UTF-8
60 Statyczna biblioteka libgweather.
61
62 %prep
63 %setup -q
64
65 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
66 mv po/sr@{Latn,latin}.po
67
68 %build
69 %{__intltoolize}
70 %{__libtoolize}
71 %{__aclocal}
72 %{__autoconf}
73 %{__autoheader}
74 %{__automake}
75 %configure
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
85
86 %find_lang libgweather
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post
92 /sbin/ldconfig
93 %gconf_schema_install gweather.schemas
94
95 %preun
96 %gconf_schema_uninstall gweather.schemas
97
98 %postun -p /sbin/ldconfig
99
100 %files -f libgweather.lang
101 %defattr(644,root,root,755)
102 %doc ChangeLog README
103 %attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libgweather.so.0
105 %{_sysconfdir}/gconf/schemas/gweather.schemas
106 %{_datadir}/libgweather
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libgweather.so
111 %{_libdir}/libgweather.la
112 %{_includedir}/libgweather
113 %{_pkgconfigdir}/gweather.pc
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/libgweather.a
This page took 0.127138 seconds and 4 git commands to generate.