[Tizen-submit] 2828: New package Tizen:2.1:Main/enchant

noreply at tizen.org noreply at tizen.org
Wed Apr 24 22:48:33 GMT 2013


Hi,
Adding new package enchant in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: external/enchant
Tag: submit/tizen_2.1/20130424.224853
Commit: 9a53b18 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2828

  submit:       Tizen:2.1:Main:build/enchant(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: external/enchant
Tag: submit/tizen_2.1/20130424.224853
Commit: 9a53b18 Tizen 2.1 base

State:   new        2013-04-24T15:19:11 tizenrobot
Comment: <no comment>
new:
----
  enchant-1.6.1.tar.gz
  enchant.spec

spec files:
-----------

++++++ new spec file:
--- enchant.spec
+++ enchant.spec
@@ -0,0 +1,106 @@
+%define name enchant
+%define version 1.6.1
+%define release 4
+
+Summary: An Enchanting Spell Checking Library
+
+Name: %{name}
+Version: %{version}
+Release: %{release}
+VCS:        external/enchant#2.1_release-0-g9a53b18
+Group: System Environment/Libraries
+License: LGPL
+
+Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libenchant/%{name}-%{version}.tar.gz
+Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
+URL: http://www.abisource.com/
+
+Requires: glib2 >= 2.0.0
+BuildRequires: glib2-devel >= 2.0.0
+
+%description
+A library that wraps other spellchecking backends.
+
+%package devel
+Summary: Support files necessary to compile applications with libenchant.
+Group: Development/Libraries
+Requires: enchant
+
+%description devel
+Libraries, headers, and support files necessary to compile applications using libenchant.
+
+%prep
+
+%setup
+
+%build
+%ifarch alpha
+  MYARCH_FLAGS="--host=alpha-redhat-linux"
+%endif
+
+if [ ! -f configure ]; then
+CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
+fi
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
+%{?_without_ispell:--disable-ispell} \
+%{?_without_myspell:--disable-myspell} \
+%{?_without_aspell:--disable-aspell} \
+%{?_with_uspell:--enable-uspell}
+
+if [ "$SMP" != "" ]; then
+  (%__make "MAKE=%__make -k -j $SMP"; exit 0)
+  %__make
+else
+%__make
+fi
+
+%install
+if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+%__make DESTDIR=$RPM_BUILD_ROOT install
+find $RPM_BUILD_ROOT/%{_libdir} -name \*.la -exec rm -f \{\} \;
+
+%files -n enchant
+%manifest enchant.manifest
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING.LIB README
+%attr(755,root,root)%{_bindir}/*
+%{_libdir}/lib*.so*
+%{_prefix}/share/man/man1/enchant.1.gz
+%{_prefix}/share/enchant/enchant.ordering
+%{!?_without_ispell:%{_libdir}/enchant/*ispell.so*}
+%{!?_without_myspell:%{_libdir}/enchant/*myspell.so*}
+# commented by MR

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list