I have made the following changes intended for :
  CE:Apps / qrencode

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/5345

Thank You,
tswindell

[This message was auto-generated]

---

Request # 5345:

Messages from BOSS:

State: review at 2012-07-30T13:46:47 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: home:tswindell:CE:Apps / qrencode -> CE:Apps / qrencode
  
changes files:
--------------

++++++ new changes file:
--- qrencode.changes
+++ qrencode.changes
@@ -0,0 +1,3 @@
+* Mon Jul 30 2012 Tom Swindell <[email protected]> - 3.1.1
+- Initial project import.
+

new:
----
  qrencode-3.1.1-fix-libpng-and-remove-sdl-dependency.patch
  qrencode-3.1.1.tar.gz
  qrencode.changes
  qrencode.spec

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

++++++ new spec file:
--- qrencode.spec
+++ qrencode.spec
@@ -0,0 +1,65 @@
+%define ver 3.1.1
+%define rel 1
+
+Name:           qrencode
+Version:        %{ver}
+Release:        %{rel}%{?dist}
+Summary:        Libqrencode is a library for encoding QR 2D barcodes
+
+BuildRequires:  gettext
+BuildRequires: pkgconfig(libpng)
+
+Group:          Multimedia/Imaging Codecs
+License:        LGPLv2+
+URL:            http://megaui.net/fukuchi/works/qrencode/
+Source0:        
http://megaui.net/fukuchi/works/qrencode/%{name}-%{version}.tar.gz
+Patch0:         qrencode-3.1.1-fix-libpng-and-remove-sdl-dependency.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+Libqrencode encodes QRCodes
+
+%package        devel
+Summary:        Development files for libqrencode
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description    devel
+This package contains development files for libqrencode.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%reconfigure --without-tests
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING TODO ChangeLog NEWS README
+%{_libdir}/libqrencode.so.*
+%{_bindir}/qrencode
+%{_mandir}/man1/qrencode.1.gz
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/qrencode.h
+%{_libdir}/libqrencode.so
+%{_libdir}/pkgconfig/libqrencode.pc
+

other changes:
--------------

++++++ qrencode-3.1.1-fix-libpng-and-remove-sdl-dependency.patch (new)
--- qrencode-3.1.1-fix-libpng-and-remove-sdl-dependency.patch
+++ qrencode-3.1.1-fix-libpng-and-remove-sdl-dependency.patch
@@ -0,0 +1,29 @@
+diff -uNr qrencode-3.1.1/configure.ac qrencode-3.1.1p/configure.ac
+--- qrencode-3.1.1/configure.ac        2010-02-03 00:42:12.000000000 +0000
++++ qrencode-3.1.1p/configure.ac       2012-07-30 13:43:43.481626033 +0100
+@@ -36,7 +36,7 @@
+  [build_tools=$withval], [build_tools=yes])
+ AM_CONDITIONAL(BUILD_TOOLS, [test "x$build_tools" = "xyes" ])
+ if test x$build_tools = xyes ; then
+-      PKG_CHECK_MODULES(png, "libpng12")
++      PKG_CHECK_MODULES(png, "libpng")
+ fi
+ 
+ dnl --with-tests
+@@ -54,10 +54,12 @@
+ fi
+ 
+ 
+-if test x$build_tests = xyes ; then
+-      SDL_REQUIRED_VERSION=1.2.0
+-      AM_PATH_SDL($SDL_REQUIRED_VERSION,,AC_MSG_WARN([*** SDL 
$SDL_REQUIRED_VERSION or better is required.]))
+-fi
++#if test x$build_tests = xyes ; then
++#     SDL_REQUIRED_VERSION=1.2.0
++#     AM_PATH_SDL($SDL_REQUIRED_VERSION,,AC_MSG_WARN([*** SDL 
$SDL_REQUIRED_VERSION or better is required.]))
++#     AC_MSG_NOTICE([SDL check done.])
++#     AM_ICONV_LINK
++#fi
+ AM_CONDITIONAL(HAVE_SDL, [test "x$SDL_CFLAGS" != "x" ])
+ 
+ 

++++++ qrencode-3.1.1.tar.gz (new)



Reply via email to