|
Tareq Al Jurf |
ff882c8 |
Name: qrencode
|
|
|
289f53f |
Version: 3.3.1
|
|
|
5b7fcb0 |
Release: 2%{?dist}
|
|
Tareq Al Jurf |
ff882c8 |
Summary: Generate QR 2D barcodes
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
License: LGPLv2+
|
|
Tareq Al Jurf |
ff882c8 |
URL: http://megaui.net/fukuchi/works/qrencode/index.en.html
|
|
Tareq Al Jurf |
ff882c8 |
Source0: http://megaui.net/fukuchi/works/qrencode/%{name}-%{version}.tar.gz
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
BuildRequires: libpng-devel chrpath
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%description
|
|
Tareq Al Jurf |
ff882c8 |
Qrencode is a utility software using libqrencode to encode string data in
|
|
Tareq Al Jurf |
ff882c8 |
a QR Code and save as a PNG image.
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%package devel
|
|
Tareq Al Jurf |
ff882c8 |
Summary: QR Code encoding library - Development files
|
|
Tareq Al Jurf |
ff882c8 |
Group: Development/Libraries
|
|
Tareq Al Jurf |
ff882c8 |
Requires: %{name} = %{version}-%{release}
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%description devel
|
|
Tareq Al Jurf |
ff882c8 |
The qrencode-devel package contains libraries and header files for developing
|
|
Tareq Al Jurf |
ff882c8 |
applications that use qrencode.
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%prep
|
|
Tareq Al Jurf |
ff882c8 |
%setup -q
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%build
|
|
Tareq Al Jurf |
ff882c8 |
%configure --with-tests
|
|
Tareq Al Jurf |
ff882c8 |
make %{?_smp_mflags}
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%install
|
|
Tareq Al Jurf |
ff882c8 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
Tareq Al Jurf |
ff882c8 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/libqrencode.la
|
|
Tareq Al Jurf |
ff882c8 |
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%check
|
|
Tareq Al Jurf |
ff882c8 |
cd ./tests
|
|
Tareq Al Jurf |
ff882c8 |
sh test_all.sh
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%post -p /sbin/ldconfig
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%postun -p /sbin/ldconfig
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%files
|
|
Tareq Al Jurf |
ff882c8 |
%doc ChangeLog COPYING NEWS README TODO
|
|
Tareq Al Jurf |
ff882c8 |
%{_bindir}/qrencode
|
|
|
289f53f |
%{_mandir}/man1/qrencode.1*
|
|
Casper |
680fec3 |
%{_libdir}/libqrencode.so.*
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%files devel
|
|
Tareq Al Jurf |
ff882c8 |
%{_includedir}/qrencode.h
|
|
Tareq Al Jurf |
ff882c8 |
%{_libdir}/libqrencode.so
|
|
Tareq Al Jurf |
ff882c8 |
%{_libdir}/pkgconfig/libqrencode.pc
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
%changelog
|
|
|
5b7fcb0 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2
|
|
|
5b7fcb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5b7fcb0 |
|
|
|
289f53f |
* Sat Jun 23 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.3.1-1
|
|
|
289f53f |
- update to 3.3.1
|
|
|
289f53f |
- remove "Group" tag in spec file
|
|
|
289f53f |
- fix manfile suffix
|
|
|
289f53f |
- remove patch to fix improper LIBPTHREAD macro in the pkgconfig file:
|
|
|
289f53f |
- upstream issue
|
|
|
289f53f |
|
|
|
f466034 |
* Sat Feb 25 2012 Peter Gordon <peter@thecodergeek.com> - 3.2.0-3
|
|
|
f466034 |
- Fix applying the LIBPTHREAD patch. (Thanks to Matthieu Saulnier.)
|
|
|
f466034 |
|
|
|
3861550 |
* Thu Feb 23 2012 Peter Gordon <peter@thecodergeek.com> - 3.2.0-2
|
|
|
3861550 |
- Add patch to fix improper LIBPTHREAD macro in the pkgconfig file:
|
|
|
3861550 |
+ fix-LIBPTHREAD-macro.patch
|
|
|
3861550 |
- Resolves: #795582 (qrencode-devel: Malformed pkgconfig file causes build to
|
|
|
3861550 |
fail ("@LIBPTHREAD@: No such file or directory"))
|
|
|
3861550 |
|
|
Casper |
680fec3 |
* Sun Jan 15 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 3.2.0-1
|
|
Casper |
680fec3 |
- update to 3.2.0
|
|
Casper |
680fec3 |
- remove BuildRoot tag in spec file
|
|
Casper |
680fec3 |
- remove "rm -rf $RPM_BUILD_ROOT" at the beginning of %%install section
|
|
Casper |
680fec3 |
- remove %%clean section
|
|
Casper |
680fec3 |
- remove %%defattr lines
|
|
Casper |
680fec3 |
- add a joker for libqrencode.so.* files
|
|
Casper |
680fec3 |
|
|
|
855a536 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-7
|
|
|
855a536 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
855a536 |
|
|
|
15c86db |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 3.1.1-6
|
|
|
15c86db |
- Rebuild for new libpng
|
|
|
15c86db |
|
|
|
e09f97f |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
|
|
|
e09f97f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e09f97f |
|
|
Tareq Al Jurf |
ff882c8 |
* Tue Jul 13 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-4
|
|
Tareq Al Jurf |
ff882c8 |
- Fixed the rpath problem.
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-3
|
|
Tareq Al Jurf |
ff882c8 |
- Fixed some small spec mistakes.
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-2
|
|
Tareq Al Jurf |
ff882c8 |
- Fixed some small errors.
|
|
Tareq Al Jurf |
ff882c8 |
|
|
Tareq Al Jurf |
ff882c8 |
* Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
|
|
Tareq Al Jurf |
ff882c8 |
- Initial build.
|