17e096
Name:           qrencode
17e096
Version:        3.4.1
4922cd
Release:        3%{?dist}
17e096
Summary:        Generate QR 2D barcodes
17e096
Summary(fr):    Génère les code-barres en 2D QR
17e096
17e096
License:        LGPLv2+
17e096
URL:            http://megaui.net/fukuchi/works/qrencode/index.en.html
17e096
Source0:        http://megaui.net/fukuchi/works/qrencode/%{name}-%{version}.tar.gz
17e096
17e096
BuildRequires:  libpng-devel chrpath
17e096
17e096
17e096
%description
17e096
Qrencode is a utility software using libqrencode to encode string data in
17e096
a QR Code and save as a PNG image.
17e096
17e096
%description -l fr
17e096
Qrencode est un logiciel utilitaire utilisant libqrencode pour encoder
17e096
les données dans un QR Code et sauvegarde dans une image PNG.
17e096
17e096
17e096
%package        devel
17e096
Summary:        QR Code encoding library - Development files
17e096
Summary(fr):    Bibliothèque d'encodage QR Code - Fichiers de développement
17e096
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
17e096
17e096
%description    devel
17e096
The qrencode-devel package contains libraries and header files for developing
17e096
applications that use qrencode.
17e096
17e096
%description    devel -l fr
17e096
Le paquet qrencode-devel contient les bibliothèques et les fichiers d'en-tête
17e096
pour le développement d'applications utilisant qrencode.
17e096
17e096
17e096
%package        libs
17e096
Summary:        QR Code encoding library - Shared libraries
17e096
Summary(fr):    Bibliothèque d'encodage QR Code - Bibliothèque partagée
17e096
17e096
%description    libs
17e096
The qrencode-libs package contains the shared libraries and header files for
17e096
applications that use qrencode.
17e096
17e096
%description    libs -l fr
17e096
Le paquet qrencode-libs contient les bibliothèques partagées et les fichiers
17e096
d'en-tête pour les applications utilisant qrencode.
17e096
17e096
17e096
%prep
17e096
%setup -q
17e096
17e096
17e096
%build
17e096
%configure --with-tests
17e096
make %{?_smp_mflags}
17e096
17e096
17e096
%install
17e096
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
17e096
rm -rf $RPM_BUILD_ROOT%{_libdir}/libqrencode.la
17e096
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
17e096
17e096
17e096
%check
17e096
cd ./tests
17e096
sh test_all.sh
17e096
17e096
17e096
%post libs -p /sbin/ldconfig
17e096
17e096
%postun libs -p /sbin/ldconfig
17e096
17e096
17e096
%files
17e096
%{_bindir}/qrencode
17e096
%{_mandir}/man1/qrencode.1*
17e096
17e096
%files libs
17e096
%doc ChangeLog COPYING NEWS README TODO
17e096
%{_libdir}/libqrencode.so.*
17e096
17e096
%files devel
17e096
%{_includedir}/qrencode.h
17e096
%{_libdir}/libqrencode.so
17e096
%{_libdir}/pkgconfig/libqrencode.pc
17e096
17e096
17e096
%changelog
4922cd
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.4.1-3
4922cd
- Mass rebuild 2014-01-24
4922cd
4922cd
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.4.1-2
4922cd
- Mass rebuild 2013-12-27
4922cd
17e096
* Fri Jan 25 2013 Matthieu Saulnier <fantom@fedoraproject.org> - 3.4.1-1
17e096
- Update to 3.4.1
17e096
17e096
* Fri Sep 21 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.3.1-4
17e096
- Add libs subpackage (fix RHBZ #856808)
17e096
17e096
* Thu Aug 16 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.3.1-3
17e096
- Add French translation in spec file
17e096
- Fix incomplete removing Group tags in spec file
17e096
17e096
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2
17e096
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
17e096
17e096
* Sat Jun 23 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.3.1-1
17e096
- update to 3.3.1
17e096
- remove "Group" tag in spec file
17e096
- fix manfile suffix
17e096
- remove patch to fix improper LIBPTHREAD macro in the pkgconfig file:
17e096
  - upstream issue
17e096
17e096
* Sat Feb 25 2012 Peter Gordon <peter@thecodergeek.com> - 3.2.0-3
17e096
- Fix applying the LIBPTHREAD patch. (Thanks to Matthieu Saulnier.)
17e096
17e096
* Thu Feb 23 2012 Peter Gordon <peter@thecodergeek.com> - 3.2.0-2
17e096
- Add patch to fix improper LIBPTHREAD macro in the pkgconfig file:
17e096
  + fix-LIBPTHREAD-macro.patch
17e096
- Resolves: #795582 (qrencode-devel: Malformed pkgconfig file causes build to
17e096
  fail ("@LIBPTHREAD@: No such file or directory"))
17e096
17e096
* Sun Jan 15 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.2.0-1
17e096
- update to 3.2.0
17e096
- remove BuildRoot tag in spec file
17e096
- remove "rm -rf $RPM_BUILD_ROOT" at the beginning of %%install section
17e096
- remove %%clean section
17e096
- remove %%defattr lines
17e096
- add a joker for libqrencode.so.* files
17e096
17e096
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-7
17e096
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
17e096
17e096
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 3.1.1-6
17e096
- Rebuild for new libpng
17e096
17e096
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
17e096
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
17e096
17e096
* Tue Jul 13 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-4
17e096
- Fixed the rpath problem.
17e096
17e096
* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-3
17e096
- Fixed some small spec mistakes.
17e096
17e096
* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-2
17e096
- Fixed some small errors.
17e096
17e096
* Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
17e096
- Initial build.