automatic version update by autodist [release 3.4.3-1mamba;Mon Aug 12 2013]
This commit is contained in:
parent
1f24aa6338
commit
b42279dd5c
@ -1,2 +1,4 @@
|
|||||||
# libqrencode
|
# libqrencode
|
||||||
|
|
||||||
|
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D symbology that can be scanned by handy terminals such as a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is highly robust.
|
||||||
|
|
||||||
|
12
libqrencode-3.1.1-libpng.patch
Normal file
12
libqrencode-3.1.1-libpng.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nru qrencode-3.1.1.orig//configure.ac qrencode-3.1.1/configure.ac
|
||||||
|
--- qrencode-3.1.1.orig//configure.ac 2010-02-03 01:42:12.000000000 +0100
|
||||||
|
+++ qrencode-3.1.1/configure.ac 2011-08-08 12:27:17.283893858 +0200
|
||||||
|
@@ -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
|
80
libqrencode.spec
Normal file
80
libqrencode.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
Name: libqrencode
|
||||||
|
Version: 3.4.3
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A C library for encoding data in a QR Code symbol,
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://fukuchi.org/works/qrencode/index.en.html
|
||||||
|
Source: http://fukuchi.org/works/qrencode/qrencode-%{version}.tar.bz2
|
||||||
|
Patch0: %{name}-3.1.1-libpng.patch
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D symbology that can be scanned by handy terminals such as a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is highly robust.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Static libraries and headers for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D symbology that can be scanned by handy terminals such as a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is highly robust.
|
||||||
|
|
||||||
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n qrencode-%{version}
|
||||||
|
#%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
#./autogen.sh
|
||||||
|
%configure
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/qrencode
|
||||||
|
%{_libdir}/libqrencode.so.*
|
||||||
|
%{_mandir}/man1/qrencode.1*
|
||||||
|
%doc COPYING ChangeLog NEWS README TODO
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/qrencode.h
|
||||||
|
%{_libdir}/libqrencode.la
|
||||||
|
%{_libdir}/libqrencode.so
|
||||||
|
%{_libdir}/pkgconfig/libqrencode.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Mar 01 2013 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Oct 26 2012 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Aug 08 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user