[packages/ruby-sary] - pl, use glib 2.x headers instead of glib 1.2.x
qboosh
qboosh at pld-linux.org
Sat Nov 17 19:02:20 CET 2012
commit f2f4c6d939c728965bb45e3a92685c8562c5a3f8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Nov 17 19:02:20 2012 +0100
- pl, use glib 2.x headers instead of glib 1.2.x
ruby-sary.spec | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/ruby-sary.spec b/ruby-sary.spec
index 08ab9f8..b61c73c 100644
--- a/ruby-sary.spec
+++ b/ruby-sary.spec
@@ -1,26 +1,31 @@
%define pkgname sary
Summary: Ruby Binding of Sary
+Summary(pl.UTF-8): Wiązanie języka Ruby do biblioteki Sary
Name: ruby-%{pkgname}
Version: 1.2.0
Release: 1
-License: LGPL
+License: LGPL v2.1+
+Group: Development/Languages
Source0: http://sary.sourceforge.net/%{pkgname}-ruby-%{version}.tar.gz
# Source0-md5: c885abffea72f25cb0f6286770a78ac1
Patch0: %{name}-no-version.patch
Patch1: %{name}-ruby19.patch
-Group: Development/Languages
URL: http://sary.sourceforge.net/
+BuildRequires: glib2-devel >= 2.0
+BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.484
BuildRequires: ruby >= 1:1.8.6
BuildRequires: ruby-modules
BuildRequires: sary-devel
-BuildRequires: pkgconfig
%{?ruby_mod_ver_requires_eq}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Ruby Binding of Sary.
+%description -l pl.UTF-8
+Wiązanie języka Ruby do biblioteki Sary.
+
%prep
%setup -q -n %{pkgname}-ruby-%{version}
%patch0 -p1
@@ -31,7 +36,7 @@ Ruby Binding of Sary.
%{__make} \
CC="%{__cc}" \
LDFLAGS="%{rpmldflags}" \
- CFLAGS="%{rpmcflags} -fPIC `pkg-config glib --cflags`"
+ CFLAGS="%{rpmcflags} -fPIC `pkg-config glib-2.0 --cflags`"
%install
rm -rf $RPM_BUILD_ROOT
@@ -44,5 +49,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ChangeLog README*
+%doc ChangeLog README.en.rd Reference.en.rd
+%lang(ja) %doc README.ja.rd Reference.ja.rd
%attr(755,root,root) %{ruby_sitearchdir}/%{pkgname}.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-sary.git/commitdiff/f2f4c6d939c728965bb45e3a92685c8562c5a3f8
More information about the pld-cvs-commit
mailing list