123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- Name: qrencode
- Summary: Generate QR 2D barcodes
- Version: 3.4.3
- Release: 2%{?_dist_release}
- Group: Applications/Engineering
- License: LGPLv2+
- URL: http://megaui.net/fukuchi/works/qrencode/index.en.html
- Source0: http://megaui.net/fukuchi/works/qrencode/%{name}-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: libpng-devel
- BuildRequires: SDL-devel
- BuildRequires: chrpath
- %description
- Qrencode is a utility software using libqrencode to encode string data in
- a QR Code and save as a PNG image.
- %package devel
- Summary: QR Code encoding library - Development files
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- %description devel
- The qrencode-devel package contains libraries and header files for developing
- applications that use qrencode.
- %prep
- %setup -q
- %build
- %configure --with-tests
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- rm -rf $RPM_BUILD_ROOT%{_libdir}/libqrencode.la
- chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
- %check
- cd ./tests
- sh test_all.sh
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root,-)
- %doc ChangeLog COPYING NEWS README TODO
- %{_bindir}/qrencode
- %{_mandir}/man1/qrencode.1.*
- %{_libdir}/libqrencode.so.*
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/qrencode.h
- %{_libdir}/libqrencode.so
- %{_libdir}/pkgconfig/libqrencode.pc
- %changelog
- * Sun Jul 20 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.3-2
- - rebuilt with libpng-1.6.12
- * Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.3-1
- - new upstream release
- * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.2-1
- - new upstream release
- * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.3.1-1
- - new upstream release
- - add BuildRequires: SDL-devel
- * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.1.1-6
- - Initial build for Vine Linux
- * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Tue Jul 13 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-4
- - Fixed the rpath problem.
- * Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-3
- - Fixed some small spec mistakes.
- * Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-2
- - Fixed some small errors.
- * Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
- - Initial build.
|