87 lines
2.7 KiB
RPMSpec
87 lines
2.7 KiB
RPMSpec
|
Name: libqrencode3
|
||
|
Version: 3.4.4
|
||
|
Release: 2mamba
|
||
|
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: libqrencode-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 27 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.4-2mamba
|
||
|
- legacy package
|
||
|
|
||
|
* Sat Jul 26 2014 Automatic Build System <autodist@mambasoft.it> 3.4.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* 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
|