source: projects/specs/trunk/q/qrencode/qrencode-vl.spec @ 10212

Revision 10212, 3.4 KB checked in by ara_t, 8 years ago (diff)

update to 3.4.4

RevLine 
[10212]1%define pkg_name    qrencode
2%define pkg_version 3.4.4
3%define pkg_release 2%{?_dist_release}
[4447]4
[10212]5Summary:     Generate QR 2D barcodes
6Summary(ja): 2次元QRコードを作成するアプリケーション
7Name:        %{pkg_name}
8Version:     %{pkg_version}
9Release:     %{pkg_release}
[4447]10
[10212]11License: LGPLv2+
12Group:   Applications/Other
13URL:     http://fukuchi.org/works/qrencode/
14Source0: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.gz
[4447]15
[10212]16Buildroot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: libpng-devel
18BuildRequires: chrpath
[4447]19
[10212]20Vendor: Project Vine
21Distribution: Vine Linux
[4447]22
[10212]23
[4447]24%description
[10212]25Libqrencode is a C library for encoding data in a QR Code symbol,
26a kind of 2D symbology that can be scanned by handy terminals
27such as a mobile phone with CCD.
28The capacity of QR Code is up to 7000 digits or 4000 characters,
29and is highly robust.
[4447]30
[10212]31%description -l ja
32libqrencodeはQRコードを生成するためのCライブラリです。
33QRコードは二次元バーコードの一種で、数字なら最大約7000桁、
34英数字だと最大約4000字を埋め込むことができ、
35また誤り訂正能力に優れています。
[4447]36
37
[10212]38%package  devel
39Summary:  QR Code encoding library - Development files
40Group:    Development/Libraries
41Requires: %{name} = %{version}-%{release}
42
43%description devel
44Libqrencode supports QR Code model 2, described in JIS
45(Japanese Industrial Standards) X0510:2004 or ISO/IEC 18004.
46Currently the following features are not supported: ECI and
47FNC1 mode, Micro QR Code, QR Code model 1.
48
49This package contains development files for libqrencode.
50
51
[4447]52%prep
[10212]53%{__rm} -rf ${RPM_BUILD_ROOT}
[4447]54%setup -q
55
56%build
[10212]57%{configure} --with-tests
58%{__make} %{?_smp_mflags}
[4447]59
[10212]60%check
61cd ./tests
62sh test_all.sh
[4447]63
64%install
[10212]65%{make_install} INSTALL="install -p"
66%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/*.la
[4447]67chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
68
69%clean
[10212]70%{__rm} -rf ${RPM_BUILD_ROOT}
[4447]71
[10212]72%post -p %{_syssbindir}/ldconfig
73%postun -p %{_syssbindir}/ldconfig
[4447]74
75
76%files
77%doc ChangeLog COPYING NEWS README TODO
[10212]78%defattr(-,root,root)
[4447]79%{_bindir}/qrencode
[10212]80%{_libdir}/libqrencode.so.*
[4447]81%{_mandir}/man1/qrencode.1.*
82
83%files devel
84%defattr(-,root,root,-)
85%{_includedir}/qrencode.h
86%{_libdir}/libqrencode.so
87%{_libdir}/pkgconfig/libqrencode.pc
88
89
90%changelog
[10212]91* Fri Apr 29 2016 Toshiaki Ara <ara_t@384.jp> 3.4.4-2
92- merge previous SPEC file
93
94* Fri Apr 29 2016 Toshiaki Ara <ara_t@384.jp> 3.4.4-1
95- update to 3.4.4
96- delete BuildRequires: SDL-devel
97
[8845]98* Sun Jul 20 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.3-2
99- rebuilt with libpng-1.6.12
100
[7801]101* Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.3-1
102- new upstream release
103
[7712]104* Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.2-1
105- new upstream release
106
[6655]107* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.3.1-1
108- new upstream release
109- add BuildRequires: SDL-devel
110
[4447]111* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.1.1-6
112- Initial build for Vine Linux
113
114* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
115- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
116
117* Tue Jul 13 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-4
118- Fixed the rpath problem.
119
120* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-3
121- Fixed some small spec mistakes.
122
123* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-2
124- Fixed some small errors.
125
126* Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
127- Initial build.
[10212]128
129
Note: See TracBrowser for help on using the repository browser.