[packages/libgnome] noarch apidocs

glen glen at pld-linux.org
Thu Apr 3 09:09:25 CEST 2014


commit 3a6e8d777ed12656f1a76a547cf4ac1583a123d1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 3 10:09:24 2014 +0300

    noarch apidocs

 libgnome.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/libgnome.spec b/libgnome.spec
index 53480ed..491e7a4 100644
--- a/libgnome.spec
+++ b/libgnome.spec
@@ -2,12 +2,12 @@
 # Conditional build:
 %bcond_with	esd		# EsounD support (obsolete)
 %bcond_without	static_libs	# static library
-#
+
 Summary:	GNOME base library
 Summary(pl.UTF-8):	Podstawowa biblioteka GNOME
 Name:		libgnome
 Version:	2.32.1
-Release:	3
+Release:	4
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.32/%{name}-%{version}.tar.bz2
@@ -15,8 +15,8 @@ Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgnome/2.32/%{name}-%{version}
 Patch0:		%{name}-load-config.patch
 Patch1:		%{name}-glib.patch
 URL:		http://www.gnome.org/
-%{?with_esd:BuildRequires:	audiofile-devel >= 0.2.3}
 BuildRequires:	GConf2-devel >= 2.24.0
+%{?with_esd:BuildRequires:	audiofile-devel >= 0.2.3}
 BuildRequires:	autoconf >= 2.54
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	docbook-dtd412-xml
@@ -107,6 +107,9 @@ Summary:	libgnome API documentation
 Summary(pl.UTF-8):	Dokumentacja API libgnome
 Group:		Documentation
 Requires:	gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 libgnome API documentation.
@@ -151,7 +154,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.a
 %endif
 
-%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{sr at ije,sr at ijekavian}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr at ije,sr at ijekavian}
 
 %find_lang %{name}-2.0
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgnome.git/commitdiff/3a6e8d777ed12656f1a76a547cf4ac1583a123d1



More information about the pld-cvs-commit mailing list