|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
Name: qrencode
|
|
|
|
|
Version: 3.1.1
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 3.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Generate QR 2D barcodes
|
|
|
|
|
|
|
|
|
|
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.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: libpng-devel chrpath
|
|
|
|
|
|
|
|
|
@ -35,7 +34,6 @@ 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
|
|
|
|
@ -44,9 +42,6 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
|
|
|
|
|
cd ./tests
|
|
|
|
|
sh test_all.sh
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
@ -54,21 +49,26 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc ChangeLog COPYING NEWS README TODO
|
|
|
|
|
%{_bindir}/qrencode
|
|
|
|
|
%{_mandir}/man1/qrencode.1.*
|
|
|
|
|
%{_libdir}/libqrencode.so.3
|
|
|
|
|
%{_libdir}/libqrencode.so.3.1.1
|
|
|
|
|
%{_libdir}/libqrencode.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_includedir}/qrencode.h
|
|
|
|
|
%{_libdir}/libqrencode.so
|
|
|
|
|
%{_libdir}/pkgconfig/libqrencode.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jan 15 2012 Matthieu Saulnier <fantom@fedoraproject.org> - 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 <rel-eng@lists.fedoraproject.org> - 3.1.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|