From 17e09620418ce1548fba2a1b4007b6f5f594618d Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 18 2013 08:26:12 +0000 Subject: import qrencode-3.4.1-1.el7.src.rpm --- diff --git a/.qrencode.metadata b/.qrencode.metadata new file mode 100644 index 0000000..0ff8e90 --- /dev/null +++ b/.qrencode.metadata @@ -0,0 +1 @@ +3a651b077bc58d4108d350033de412d063de852d SOURCES/qrencode-3.4.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/qrencode.spec b/SPECS/qrencode.spec new file mode 100644 index 0000000..3d4dcc7 --- /dev/null +++ b/SPECS/qrencode.spec @@ -0,0 +1,146 @@ +Name: qrencode +Version: 3.4.1 +Release: 1%{?dist} +Summary: Generate QR 2D barcodes +Summary(fr): Génère les code-barres en 2D QR + +License: LGPLv2+ +URL: http://megaui.net/fukuchi/works/qrencode/index.en.html +Source0: http://megaui.net/fukuchi/works/qrencode/%{name}-%{version}.tar.gz + +BuildRequires: libpng-devel chrpath + + +%description +Qrencode is a utility software using libqrencode to encode string data in +a QR Code and save as a PNG image. + +%description -l fr +Qrencode est un logiciel utilitaire utilisant libqrencode pour encoder +les données dans un QR Code et sauvegarde dans une image PNG. + + +%package devel +Summary: QR Code encoding library - Development files +Summary(fr): Bibliothèque d'encodage QR Code - Fichiers de développement +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +The qrencode-devel package contains libraries and header files for developing +applications that use qrencode. + +%description devel -l fr +Le paquet qrencode-devel contient les bibliothèques et les fichiers d'en-tête +pour le développement d'applications utilisant qrencode. + + +%package libs +Summary: QR Code encoding library - Shared libraries +Summary(fr): Bibliothèque d'encodage QR Code - Bibliothèque partagée + +%description libs +The qrencode-libs package contains the shared libraries and header files for +applications that use qrencode. + +%description libs -l fr +Le paquet qrencode-libs contient les bibliothèques partagées et les fichiers +d'en-tête pour les applications utilisant qrencode. + + +%prep +%setup -q + + +%build +%configure --with-tests +make %{?_smp_mflags} + + +%install +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 + + +%post libs -p /sbin/ldconfig + +%postun libs -p /sbin/ldconfig + + +%files +%{_bindir}/qrencode +%{_mandir}/man1/qrencode.1* + +%files libs +%doc ChangeLog COPYING NEWS README TODO +%{_libdir}/libqrencode.so.* + +%files devel +%{_includedir}/qrencode.h +%{_libdir}/libqrencode.so +%{_libdir}/pkgconfig/libqrencode.pc + + +%changelog +* Fri Jan 25 2013 Matthieu Saulnier - 3.4.1-1 +- Update to 3.4.1 + +* Fri Sep 21 2012 Matthieu Saulnier - 3.3.1-4 +- Add libs subpackage (fix RHBZ #856808) + +* Thu Aug 16 2012 Matthieu Saulnier - 3.3.1-3 +- Add French translation in spec file +- Fix incomplete removing Group tags in spec file + +* Sat Jul 21 2012 Fedora Release Engineering - 3.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jun 23 2012 Matthieu Saulnier - 3.3.1-1 +- update to 3.3.1 +- remove "Group" tag in spec file +- fix manfile suffix +- remove patch to fix improper LIBPTHREAD macro in the pkgconfig file: + - upstream issue + +* Sat Feb 25 2012 Peter Gordon - 3.2.0-3 +- Fix applying the LIBPTHREAD patch. (Thanks to Matthieu Saulnier.) + +* Thu Feb 23 2012 Peter Gordon - 3.2.0-2 +- Add patch to fix improper LIBPTHREAD macro in the pkgconfig file: + + fix-LIBPTHREAD-macro.patch +- Resolves: #795582 (qrencode-devel: Malformed pkgconfig file causes build to + fail ("@LIBPTHREAD@: No such file or directory")) + +* Sun Jan 15 2012 Matthieu Saulnier - 3.2.0-1 +- update to 3.2.0 +- remove BuildRoot tag in spec file +- remove "rm -rf $RPM_BUILD_ROOT" at the beginning of %%install section +- remove %%clean section +- remove %%defattr lines +- add a joker for libqrencode.so.* files + +* Sat Jan 14 2012 Fedora Release Engineering - 3.1.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 06 2011 Adam Jackson - 3.1.1-6 +- Rebuild for new libpng + +* Tue Feb 08 2011 Fedora Release Engineering - 3.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Jul 13 2010 Tareq Al Jurf - 3.1.1-4 +- Fixed the rpath problem. + +* Mon Jul 12 2010 Tareq Al Jurf - 3.1.1-3 +- Fixed some small spec mistakes. + +* Mon Jul 12 2010 Tareq Al Jurf - 3.1.1-2 +- Fixed some small errors. + +* Thu Jul 08 2010 Tareq Al Jurf - 3.1.1-1 +- Initial build.