SPECS: libgweather.spec - revised deps - use better way to fix loc...
megabajt
megabajt at pld-linux.org
Mon Feb 11 11:42:17 CET 2008
Author: megabajt Date: Mon Feb 11 10:42:17 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- revised deps
- use better way to fix locale name
---- Files affected:
SPECS:
libgweather.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/libgweather.spec
diff -u SPECS/libgweather.spec:1.3 SPECS/libgweather.spec:1.4
--- SPECS/libgweather.spec:1.3 Wed Jan 16 12:46:37 2008
+++ SPECS/libgweather.spec Mon Feb 11 11:42:12 2008
@@ -8,16 +8,18 @@
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.21/%{name}-%{version}.tar.bz2
# Source0-md5: 715394c673895b52d1f807f874b66770
URL: http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.8.0
-BuildRequires: autoconf >= 2.53
-BuildRequires: automake >= 1:1.8
-BuildRequires: glib2-devel >= 1:2.13.0
+BuildRequires: GConf2-devel >= 2.21.90
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.9
+BuildRequires: gettext-devel
BuildRequires: gnome-common >= 2.20.0
-BuildRequires: gnome-vfs2-devel >= 2.15.4
-BuildRequires: gtk+2-devel >= 2:2.12.0
-BuildRequires: intltool >= 0.36.1
+BuildRequires: gnome-vfs2-devel >= 2.20.0
+BuildRequires: gtk+2-devel >= 2:2.12.5
+BuildRequires: intltool >= 0.37.0
BuildRequires: libtool
-BuildRequires: pkgconfig
+BuildRequires: pkgconfig >= 1:0.19
+BuildRequires: sed >= 4.0
+Requires(post,preun): GConf2
# sr at Latn vs. sr at latin
Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,7 +32,8 @@
Summary: Header files for libgweather
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: gtk+2-devel >= 2:2.12.0
+Requires: gnome-vfs2-devel >= 2.20.0
+Requires: gtk+2-devel >= 2:2.12.5
Obsoletes: gnome-applets-devel <= 2.21.4
%description devel
@@ -38,7 +41,7 @@
%package static
Summary: Static libgweather library
-Group: Development/Libraries
+Group: X11/Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
@@ -47,11 +50,15 @@
%prep
%setup -q
+sed -i -e 's#sr at Latn#sr at latin#' po/LINGUAS
+mv po/sr@{Latn,latin}.po
+
%build
%{__intltoolize}
%{__libtoolize}
%{__aclocal}
%{__autoconf}
+%{__autoheader}
%{__automake}
%configure
%{__make}
@@ -62,9 +69,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr at latin ] || \
- mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES
+
%find_lang libgweather
%clean
@@ -82,8 +88,9 @@
%files -f libgweather.lang
%defattr(644,root,root,755)
%doc ChangeLog README
-%{_sysconfdir}/gconf/schemas/gweather.schemas
%attr(755,root,root) %{_libdir}/libgweather.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgweather.so.0
+%{_sysconfdir}/gconf/schemas/gweather.schemas
%{_datadir}/libgweather
%files devel
@@ -103,6 +110,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2008-02-11 10:42:12 megabajt
+- revised deps
+- use better way to fix locale name
+
Revision 1.3 2008-01-16 11:46:37 patrys
- move devel to libgweather
- make gnome-applets build with recent s-t-b
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libgweather.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list