[Tizen-submit] 42787: New package Tizen:IVI:Panda/libzint

noreply at tizen.org noreply at tizen.org
Fri Sep 4 07:46:05 GMT 2015


Hi,
Adding new package libzint in project Tizen:IVI:Panda. Please review and accept ASAP.

Justification for this new package:

Submitter: Jeon Hee Chul <heechul.jeon at samsung.com>
Comments: initial import
Git project: platform/upstream/libzint
Tag: submit/tizen/20150904.074427
Commit: 944bd1c1f1c5bdd8843732dc5159cd66a9a0817a Fix build error aarch64 and x86_64

Thank You,
Jeon Hee Chul

[This message was auto-generated]

---

Request: #42787

  submit:       Tizen:IVI:Panda:build/zint at 1(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Jeon Hee Chul <heechul.jeon at samsung.com>
Comments: initial import
Git project: platform/upstream/libzint
Tag: submit/tizen/20150904.074427
Commit: 944bd1c1f1c5bdd8843732dc5159cd66a9a0817a Fix build error aarch64 and x86_64

State:   new        2015-09-04T07:45:42 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:zint-2.4.3.tar.gz
  _service:gbs:zint.spec

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

++++++ new spec file:
--- _service:gbs:zint.spec
+++ _service:gbs:zint.spec
@@ -0,0 +1,83 @@
+Name:      zint
+VCS:       platform/upstream/libzint#944bd1c1f1c5bdd8843732dc5159cd66a9a0817a
+Version:   2.4.3
+Release:   11
+Summary:   Barcode generator library
+License:   BSD-2.0
+URL:       http://www.zint.org.uk
+Source:    %{name}-%{version}.tar.gz
+Group:     Development/Libraries
+
+BuildRequires: cmake
+BuildRequires: libpng-devel
+#BuildRequires: zlib-devel
+
+%description
+Zint is a C library for encoding data in several barcode variants. The
+bundled command-line utility provides a simple interface to the library.
+Features of the library:
+- Over 50 symbologies including all ISO/IEC standards, like QR codes.
+- Unicode translation for symbologies which support Latin-1 and
+  Kanji character sets.
+- Full GS1 support including data verification and automated insertion of
+  FNC1 characters.
+- Support for encoding binary data including NULL (ASCII 0) characters.
+- Health Industry Barcode (HIBC) encoding capabilities.
+- Output in PNG, EPS and SVG formats with user adjustable sizes and colors.
+- Verification stage for SBN, ISBN and ISBN-13 data.
+
+
+
+%package devel
+Summary:       Library and header files for %{name}
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+C library and header files needed to develop applications that use
+the Zint library. The API documentation can be found on the project website:
+http://www.zint.org.uk/zintSite/Manual.aspx
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+
+%ifarch aarch64 x86_64
+ARCH=aarch64
+%else
+ARCH=arm
+%endif
+
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=${ARCH}
+make VERBOSE=1
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+#rm -rf %{buildroot}/%{_datadir}/cmake
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)

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


More information about the Tizen-submit mailing list