[packages/scim-sinhala] - initial

qboosh qboosh at pld-linux.org
Sun Apr 10 10:16:15 CEST 2016


commit f610507a160f0df08c55a626c4419c93414207f0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 10 10:16:07 2016 +0200

    - initial

 scim-sinhala-no-rpath.patch | 20 ++++++++++++++
 scim-sinhala.spec           | 64 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)
---
diff --git a/scim-sinhala.spec b/scim-sinhala.spec
new file mode 100644
index 0000000..b1d947d
--- /dev/null
+++ b/scim-sinhala.spec
@@ -0,0 +1,64 @@
+Summary:	SCIM IMEngine module for Sinhala input
+Summary(pl.UTF-8):	Silnik IM SCIM dla metody wprowadzania znaków syngaleskich
+Name:		scim-sinhala
+Version:	0.1.0
+Release:	1
+License:	GPL v2+
+Group:		Libraries
+#Source0Download: https://osdn.jp/projects/scim-imengine/releases/p4040
+Source0:	http://dl.osdn.jp/scim-imengine/16666/%{name}-%{version}.tar.gz
+# Source0-md5:	180f11e667b7998e612364a405d73b87
+Patch0:		%{name}-no-rpath.patch
+URL:		https://osdn.jp/projects/scim-imengine/
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake >= 1:1.9
+BuildRequires:	gettext-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtool >= 2:1.5
+BuildRequires:	pkgconfig
+BuildRequires:	scim-devel >= 1.0
+Requires:	scim >= 1.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SCIM IMEngine module for Sinhala input.
+
+%description -l pl.UTF-8
+Silnik IM SCIM dla metody wprowadzania znaków syngaleskich.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-static
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/*/*.la
+
+# empty translations only (as of 0.1.0)
+#find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+# -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/scim-1.0/*/IMEngine/sinhala.so
+%{_datadir}/scim/icons/scim-sinhala.png
diff --git a/scim-sinhala-no-rpath.patch b/scim-sinhala-no-rpath.patch
new file mode 100644
index 0000000..73eec01
--- /dev/null
+++ b/scim-sinhala-no-rpath.patch
@@ -0,0 +1,20 @@
+--- scim-sinhala-0.1.0/configure.ac.orig	2005-09-26 09:46:24.000000000 +0200
++++ scim-sinhala-0.1.0/configure.ac	2016-04-10 10:06:14.115472687 +0200
+@@ -78,6 +78,7 @@
+ # libtool option to control which symbols are exported
+ # right now, symbols starting with _ are not exported
+ LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
++AC_SUBST([LIBTOOL_EXPORT_OPTIONS])
+ 
+ # Extra args.
+ AC_ARG_ENABLE(debug,
+--- scim-sinhala-0.1.0/src/Makefile.am.orig	2016-04-10 10:06:33.972138520 +0200
++++ scim-sinhala-0.1.0/src/Makefile.am	2016-04-10 10:06:37.952138353 +0200
+@@ -30,7 +30,6 @@
+ 
+ sinhala_la_LDFLAGS = \
+ 	-avoid-version \
+-	-rpath $(moduledir) \
+ 	-module \
+ 	@LIBTOOL_EXPORT_OPTIONS@ \
+ 	@SCIM_LIBS@
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/scim-sinhala.git/commitdiff/f610507a160f0df08c55a626c4419c93414207f0



More information about the pld-cvs-commit mailing list