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

Revision 11809, 3.5 KB checked in by ara_t, 4 years ago (diff)

qrencode: update to 4.0.2

Line 
1%define pkg_name    qrencode
2%define pkg_version 4.0.2
3%define pkg_release 1%{?_dist_release}
4
5Summary:     Generate QR 2D barcodes
6Summary(ja): 2次元QRコードを作成するアプリケーション
7Name:        %{pkg_name}
8Version:     %{pkg_version}
9Release:     %{pkg_release}
10
11License: LGPLv2+
12Group:   Applications/Other
13URL:     http://fukuchi.org/works/qrencode/
14Source0: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.gz
15
16Buildroot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: libpng-devel
18BuildRequires: chrpath
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23
24%description
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.
30
31%description -l ja
32libqrencodeはQRコードを生成するためのCライブラリです。
33QRコードは二次元バーコードの一種で、数字なら最大約7000桁、
34英数字だと最大約4000字を埋め込むことができ、
35また誤り訂正能力に優れています。
36
37
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
52%prep
53%{__rm} -rf ${RPM_BUILD_ROOT}
54%setup -q
55
56%build
57%{configure} --with-tests
58%{__make} %{?_smp_mflags}
59
60%check
61cd ./tests
62sh test_all.sh
63
64%install
65%{make_install} INSTALL="install -p"
66%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/*.la
67chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
68
69%clean
70%{__rm} -rf ${RPM_BUILD_ROOT}
71
72%post -p %{_syssbindir}/ldconfig
73%postun -p %{_syssbindir}/ldconfig
74
75
76%files
77%doc ChangeLog COPYING NEWS README TODO
78%defattr(-,root,root)
79%{_bindir}/qrencode
80%{_libdir}/libqrencode.so.*
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
91* Sun Oct 07 2018 Toshiaki Ara <ara_t@384.jp> 4.0.2-1
92- update to 4.0.2
93
94* Fri Apr 29 2016 Toshiaki Ara <ara_t@384.jp> 3.4.4-2
95- merge previous SPEC file
96
97* Fri Apr 29 2016 Toshiaki Ara <ara_t@384.jp> 3.4.4-1
98- update to 3.4.4
99- delete BuildRequires: SDL-devel
100
101* Sun Jul 20 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.3-2
102- rebuilt with libpng-1.6.12
103
104* Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.3-1
105- new upstream release
106
107* Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.2-1
108- new upstream release
109
110* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.3.1-1
111- new upstream release
112- add BuildRequires: SDL-devel
113
114* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.1.1-6
115- Initial build for Vine Linux
116
117* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
118- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
119
120* Tue Jul 13 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-4
121- Fixed the rpath problem.
122
123* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-3
124- Fixed some small spec mistakes.
125
126* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-2
127- Fixed some small errors.
128
129* Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
130- Initial build.
131
132
Note: See TracBrowser for help on using the repository browser.