Blame SPECS/qrencode.spec

7472b3
Name:           qrencode
7472b3
Version:        3.4.4
7472b3
Release:        5%{?dist}
7472b3
Summary:        Generate QR 2D barcodes
7472b3
Summary(fr):    Génère les code-barres en 2D QR
7472b3
7472b3
License:        LGPLv2+
7472b3
URL:            http://fukuchi.org/works/qrencode/
7472b3
Source0:        http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
7472b3
7472b3
BuildRequires:	chrpath
7472b3
BuildRequires:	libpng-devel
7472b3
BuildRequires:	SDL-devel
7472b3
## For ARM 64 support (RHBZ 926414)
7472b3
BuildRequires:	autoconf >= 2.69
7472b3
7472b3
%description
7472b3
Qrencode is a utility software using libqrencode to encode string data in
7472b3
a QR Code and save as a PNG image.
7472b3
7472b3
%description -l fr
7472b3
Qrencode est un logiciel utilitaire utilisant libqrencode pour encoder
7472b3
les données dans un QR Code et sauvegarde dans une image PNG.
7472b3
7472b3
7472b3
%package        devel
7472b3
Summary:        QR Code encoding library - Development files
7472b3
Summary(fr):    Bibliothèque d'encodage QR Code - Fichiers de développement
7472b3
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
7472b3
7472b3
%description    devel
7472b3
The qrencode-devel package contains libraries and header files for developing
7472b3
applications that use qrencode.
7472b3
7472b3
%description    devel -l fr
7472b3
Le paquet qrencode-devel contient les bibliothèques et les fichiers d'en-tête
7472b3
pour le développement d'applications utilisant qrencode.
7472b3
7472b3
7472b3
%package        libs
7472b3
Summary:        QR Code encoding library - Shared libraries
7472b3
Summary(fr):    Bibliothèque d'encodage QR Code - Bibliothèque partagée
7472b3
7472b3
%description    libs
7472b3
The qrencode-libs package contains the shared libraries and header files for
7472b3
applications that use qrencode.
7472b3
7472b3
%description    libs -l fr
7472b3
Le paquet qrencode-libs contient les bibliothèques partagées et les fichiers
7472b3
d'en-tête pour les applications utilisant qrencode.
7472b3
7472b3
7472b3
%prep
7472b3
%setup -q
7472b3
7472b3
7472b3
%build
7472b3
## Rebuild configure scripts for ARM 64 support. (RHBZ 926414)
7472b3
%{__autoconf}
7472b3
%configure --with-tests
7472b3
make %{?_smp_mflags}
7472b3
7472b3
7472b3
%install
7472b3
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
7472b3
rm -rf $RPM_BUILD_ROOT%{_libdir}/libqrencode.la
7472b3
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
7472b3
7472b3
7472b3
%check
7472b3
cd ./tests
7472b3
sh test_all.sh
7472b3
7472b3
%ldconfig_scriptlets libs
7472b3
7472b3
7472b3
%files
7472b3
%{_bindir}/qrencode
7472b3
%{_mandir}/man1/qrencode.1*
7472b3
7472b3
%files libs
7472b3
%{!?_licensedir:%global license %%doc}
7472b3
%license COPYING
7472b3
%doc ChangeLog NEWS README TODO
7472b3
%{_libdir}/libqrencode.so.*
7472b3
7472b3
%files devel
7472b3
%{_includedir}/qrencode.h
7472b3
%{_libdir}/libqrencode.so
7472b3
%{_libdir}/pkgconfig/libqrencode.pc
7472b3
7472b3
7472b3
%changelog
7472b3
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-5
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7472b3
7472b3
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.4.4-4
7472b3
- Switch to %%ldconfig_scriptlets
7472b3
7472b3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-3
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7472b3
7472b3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-2
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7472b3
7472b3
* Sun Jun 04 2017 Peter Gordon <peter@thecodergeek.com> - 3.4.4-1
7472b3
- Update to new upstream bug-fix release (3.4.4).
7472b3
7472b3
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-7
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7472b3
7472b3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-6
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7472b3
7472b3
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.2-5
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7472b3
7472b3
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.2-4
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7472b3
7472b3
* Mon Aug  4 2014 Tom Callaway <spot@fedoraproject.org> - 3.4.2-3
7472b3
- fix license handling
7472b3
7472b3
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.2-2
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7472b3
7472b3
* Sun Aug 11 2013 Peter Gordon <peter@thecodergeek.com> - 3.4.2-1
7472b3
- Update to new upstream release (3.4.2)
7472b3
  - Fixes a memory leak, string-splitting, and Micro QR encoding bugs.
7472b3
- Run autoconf in %%build to add ARM 64 (aarch64) to the configure scripts.
7472b3
- Resolves:  #926414 (qrencode: Does not support aarch64 in f19 and rawhide)
7472b3
- Update source/homepage URLs.
7472b3
7472b3
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-2
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7472b3
7472b3
* Fri Jan 25 2013 Matthieu Saulnier <fantom@fedoraproject.org> - 3.4.1-1
7472b3
- Update to 3.4.1
7472b3
7472b3
* Fri Sep 21 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.3.1-4
7472b3
- Add libs subpackage (fix RHBZ #856808)
7472b3
7472b3
* Thu Aug 16 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.3.1-3
7472b3
- Add French translation in spec file
7472b3
- Fix incomplete removing Group tags in spec file
7472b3
7472b3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7472b3
7472b3
* Sat Jun 23 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.3.1-1
7472b3
- update to 3.3.1
7472b3
- remove "Group" tag in spec file
7472b3
- fix manfile suffix
7472b3
- remove patch to fix improper LIBPTHREAD macro in the pkgconfig file:
7472b3
  - upstream issue
7472b3
7472b3
* Sat Feb 25 2012 Peter Gordon <peter@thecodergeek.com> - 3.2.0-3
7472b3
- Fix applying the LIBPTHREAD patch. (Thanks to Matthieu Saulnier.)
7472b3
7472b3
* Thu Feb 23 2012 Peter Gordon <peter@thecodergeek.com> - 3.2.0-2
7472b3
- Add patch to fix improper LIBPTHREAD macro in the pkgconfig file:
7472b3
  + fix-LIBPTHREAD-macro.patch
7472b3
- Resolves: #795582 (qrencode-devel: Malformed pkgconfig file causes build to
7472b3
  fail ("@LIBPTHREAD@: No such file or directory"))
7472b3
7472b3
* Sun Jan 15 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.2.0-1
7472b3
- update to 3.2.0
7472b3
- remove BuildRoot tag in spec file
7472b3
- remove "rm -rf $RPM_BUILD_ROOT" at the beginning of %%install section
7472b3
- remove %%clean section
7472b3
- remove %%defattr lines
7472b3
- add a joker for libqrencode.so.* files
7472b3
7472b3
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-7
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7472b3
7472b3
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 3.1.1-6
7472b3
- Rebuild for new libpng
7472b3
7472b3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
7472b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7472b3
7472b3
* Tue Jul 13 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-4
7472b3
- Fixed the rpath problem.
7472b3
7472b3
* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-3
7472b3
- Fixed some small spec mistakes.
7472b3
7472b3
* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-2
7472b3
- Fixed some small errors.
7472b3
7472b3
* Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
7472b3
- Initial build.