]> git.sur5r.net Git - glabels/blob - bc-backends/qrencode-3.1.0/qrencode.spec.in
Relocated barcode backends.
[glabels] / bc-backends / qrencode-3.1.0 / qrencode.spec.in
1 %define ver @VERSION@
2 %define rel 1
3
4 Name:           qrencode
5 Version:        %{ver}
6 Release:        %{rel}%{?dist}
7 Summary:        Libqrencode is a 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 has high robustness.
8
9 Group:          System Environment/Libraries
10 License:        LGPLv2+
11 URL:            http://megaui.net/fukuchi/works/qrencode/
12 Source0:        http://megaui.net/fukuchi/works/qrencode/%{name}-%{version}.tar.gz
13 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14
15 %description
16 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.
17
18 %package        devel
19 Summary:        Development files for libqrencode
20 Group:          Development/Libraries
21 Requires:       %{name} = %{version}-%{release}
22
23 %description    devel
24 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.
25
26 This package contains development files for libqrencode.
27
28 %prep
29 %setup -q
30
31
32 %build
33 %configure --without-tests
34 make %{?_smp_mflags}
35
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 make install DESTDIR=$RPM_BUILD_ROOT
40 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
41
42
43 %post -p /sbin/ldconfig
44
45 %postun -p /sbin/ldconfig
46
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(-,root,root,-)
53 %doc COPYING TODO ChangeLog NEWS README
54 %{_libdir}/libqrencode.so.*
55 %{_bindir}/qrencode
56 %{_mandir}/man1/qrencode.1.gz
57
58 %files devel
59 %defattr(-,root,root,-)
60 %{_includedir}/qrencode.h
61 %{_libdir}/libqrencode.so
62 %{_libdir}/pkgconfig/libqrencode.pc
63
64 %changelog
65 * Fri May 01 2008 Kentaro Fukuchi <fukuchi at megaui.net> 3.0.1-1
66 - The man page has been packaged correctly.
67 * Tue May 15 2007 Kentaro Fukuchi <fukuchi at megaui.net> 1.0.2-2
68 - Summary has been synchronized to README.
69 * Thu May 09 2007 Katsumi Saito <katsumi at jo1upk.ymt.prug.or.jp> 1.0.2-1
70 - Initial RPM release