Browse Source

update to 3.4.4

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10212 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 8 years ago
parent
commit
a8077c1021
1 changed files with 64 additions and 38 deletions
  1. 64 38
      q/qrencode/qrencode-vl.spec

+ 64 - 38
q/qrencode/qrencode-vl.spec

@@ -1,67 +1,84 @@
-Name:           qrencode
-Summary:        Generate QR 2D barcodes
-Version:        3.4.3
-Release:        2%{?_dist_release}
+%define pkg_name    qrencode
+%define pkg_version 3.4.4
+%define pkg_release 2%{?_dist_release}
 
-Group:          Applications/Engineering
-License:        LGPLv2+
-URL:            http://megaui.net/fukuchi/works/qrencode/index.en.html
+Summary:     Generate QR 2D barcodes
+Summary(ja): 2次元QRコードを作成するアプリケーション
+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
-BuildRequires:  libpng-devel
-BuildRequires:  SDL-devel
-BuildRequires:  chrpath
+Buildroot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: libpng-devel
+BuildRequires: chrpath
+
+Vendor: Project Vine
+Distribution: Vine Linux
 
 
 %description
-Qrencode is a utility software using libqrencode to encode string data in
-a QR Code and save as a PNG image.
+Libqrencode is a C library for encoding data in a QR Code symbol,
+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
-Summary:        QR Code encoding library - Development files
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
+%description -l ja
+libqrencodeはQRコードを生成するためのCライブラリです。
+QRコードは二次元バーコードの一種で、数字なら最大約7000桁、
+英数字だと最大約4000字を埋め込むことができ、
+また誤り訂正能力に優れています。
 
-%description    devel
-The qrencode-devel package contains libraries and header files for developing
-applications that use qrencode.
 
-%prep
-%setup -q
+%package  devel
+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
-%configure --with-tests
-make %{?_smp_mflags}
+This package contains development files for libqrencode.
 
 
-%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
+%prep
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%setup -q
+
+%build
+%{configure} --with-tests
+%{__make} %{?_smp_mflags}
 
 %check
 cd ./tests
 sh test_all.sh
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+%install
+%{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
-%defattr(-,root,root,-)
 %doc ChangeLog COPYING NEWS README TODO
+%defattr(-,root,root)
 %{_bindir}/qrencode
-%{_mandir}/man1/qrencode.1.*
 %{_libdir}/libqrencode.so.*
+%{_mandir}/man1/qrencode.1.*
 
 %files devel
 %defattr(-,root,root,-)
@@ -71,6 +88,13 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %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
 - 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
 - Initial build.
+
+