|
@@ -1,67 +1,84 @@
|
|
-Name: qrencode
|
|
+%define pkg_name qrencode
|
|
-Summary: Generate QR 2D barcodes
|
|
+%define pkg_version 3.4.4
|
|
-Version: 3.4.3
|
|
+%define pkg_release 2%{?_dist_release}
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
|
|
-Group: Applications/Engineering
|
|
+Summary: Generate QR 2D barcodes
|
|
-License: LGPLv2+
|
|
+Summary(ja): 2次元QRコードを作成するアプリケーション
|
|
-URL: http://megaui.net/fukuchi/works/qrencode/index.en.html
|
|
+Name: %{pkg_name}
|
|
|
|
+Version: %{pkg_version}
|
|
|
|
+Release: %{pkg_release}
|
|
|
|
|
|
-Source0: http://megaui.net/fukuchi/works/qrencode/%{name}-%{version}.tar.bz2
|
|
+License: LGPLv2+
|
|
|
|
+Group: Applications/Other
|
|
|
|
+URL: http://fukuchi.org/works/qrencode/
|
|
|
|
+Source0: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.gz
|
|
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
+Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: libpng-devel
|
|
+BuildRequires: libpng-devel
|
|
-BuildRequires: SDL-devel
|
|
+BuildRequires: chrpath
|
|
-BuildRequires: chrpath
|
|
+
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
|
|
|
|
%description
|
|
%description
|
|
-Qrencode is a utility software using libqrencode to encode string data in
|
|
+Libqrencode is a C library for encoding data in a QR Code symbol,
|
|
-a QR Code and save as a PNG image.
|
|
+a kind of 2D symbology that can be scanned by handy terminals
|
|
|
|
+such as a mobile phone with CCD.
|
|
|
|
+The capacity of QR Code is up to 7000 digits or 4000 characters,
|
|
|
|
+and is highly robust.
|
|
|
|
|
|
-%package devel
|
|
+%description -l ja
|
|
-Summary: QR Code encoding library - Development files
|
|
+libqrencodeはQRコードを生成するためのCライブラリです。
|
|
-Group: Development/Libraries
|
|
+QRコードは二次元バーコードの一種で、数字なら最大約7000桁、
|
|
-Requires: %{name} = %{version}-%{release}
|
|
+英数字だと最大約4000字を埋め込むことができ、
|
|
|
|
+また誤り訂正能力に優れています。
|
|
|
|
|
|
-%description devel
|
|
|
|
-The qrencode-devel package contains libraries and header files for developing
|
|
|
|
-applications that use qrencode.
|
|
|
|
|
|
|
|
-%prep
|
|
+%package devel
|
|
-%setup -q
|
|
+Summary: QR Code encoding library - Development files
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
+%description devel
|
|
|
|
+Libqrencode supports QR Code model 2, described in JIS
|
|
|
|
+(Japanese Industrial Standards) X0510:2004 or ISO/IEC 18004.
|
|
|
|
+Currently the following features are not supported: ECI and
|
|
|
|
+FNC1 mode, Micro QR Code, QR Code model 1.
|
|
|
|
|
|
-%build
|
|
+This package contains development files for libqrencode.
|
|
-%configure --with-tests
|
|
|
|
-make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
-%install
|
|
+%prep
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
+%setup -q
|
|
-rm -rf $RPM_BUILD_ROOT%{_libdir}/libqrencode.la
|
|
+
|
|
-chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
|
|
+%build
|
|
|
|
+%{configure} --with-tests
|
|
|
|
+%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%check
|
|
%check
|
|
cd ./tests
|
|
cd ./tests
|
|
sh test_all.sh
|
|
sh test_all.sh
|
|
|
|
|
|
-%clean
|
|
+%install
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
+%{make_install} INSTALL="install -p"
|
|
-
|
|
+%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/*.la
|
|
|
|
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
+%clean
|
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
-%postun -p /sbin/ldconfig
|
|
+%post -p %{_syssbindir}/ldconfig
|
|
|
|
+%postun -p %{_syssbindir}/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
-%defattr(-,root,root,-)
|
|
|
|
%doc ChangeLog COPYING NEWS README TODO
|
|
%doc ChangeLog COPYING NEWS README TODO
|
|
|
|
+%defattr(-,root,root)
|
|
%{_bindir}/qrencode
|
|
%{_bindir}/qrencode
|
|
-%{_mandir}/man1/qrencode.1.*
|
|
|
|
%{_libdir}/libqrencode.so.*
|
|
%{_libdir}/libqrencode.so.*
|
|
|
|
+%{_mandir}/man1/qrencode.1.*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -71,6 +88,13 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Apr 29 2016 Toshiaki Ara <ara_t@384.jp> 3.4.4-2
|
|
|
|
+- merge previous SPEC file
|
|
|
|
+
|
|
|
|
+* Fri Apr 29 2016 Toshiaki Ara <ara_t@384.jp> 3.4.4-1
|
|
|
|
+- update to 3.4.4
|
|
|
|
+- delete BuildRequires: SDL-devel
|
|
|
|
+
|
|
* Sun Jul 20 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.3-2
|
|
* Sun Jul 20 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.3-2
|
|
- rebuilt with libpng-1.6.12
|
|
- rebuilt with libpng-1.6.12
|
|
|
|
|
|
@@ -101,3 +125,5 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
* Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
|
|
* Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
|
|
- Initial build.
|
|
- Initial build.
|
|
|
|
+
|
|
|
|
+
|