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

Line 
1%define pkg_name    qrencode
2%define pkg_version 3.4.4
3%define pkg_release 2%{?_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* 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
98* Sun Jul 20 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.3-2
99- rebuilt with libpng-1.6.12
100
101* Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.3-1
102- new upstream release
103
104* Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.2-1
105- new upstream release
106
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
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.
128
129
Note: See TracBrowser for help on using the repository browser.