source: projects/specs/branches/6/q/qrencode/qrencode-vl.spec @ 4447

Revision 4447, 2.2 KB checked in by inagaki, 13 years ago (diff)

NEW: prison, qrencode

Line 
1Name:           qrencode
2Summary:        Generate QR 2D barcodes
3Version:        3.1.1
4Release:        6%{?_dist_release}
5
6Group:          Applications/Engineering
7License:        LGPLv2+
8URL:            http://megaui.net/fukuchi/works/qrencode/index.en.html
9
10Source0:        http://megaui.net/fukuchi/works/qrencode/%{name}-%{version}.tar.gz
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  libpng-devel
14BuildRequires:  chrpath
15
16
17%description
18Qrencode is a utility software using libqrencode to encode string data in
19a QR Code and save as a PNG image.
20
21%package        devel
22Summary:        QR Code encoding library - Development files
23Group:          Development/Libraries
24Requires:       %{name} = %{version}-%{release}
25
26%description    devel
27The qrencode-devel package contains libraries and header files for developing
28applications that use qrencode.
29
30%prep
31%setup -q
32
33
34%build
35%configure --with-tests
36make %{?_smp_mflags}
37
38
39%install
40rm -rf $RPM_BUILD_ROOT
41make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
42rm -rf $RPM_BUILD_ROOT%{_libdir}/libqrencode.la
43chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
44
45%check
46cd ./tests
47sh test_all.sh
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52
53%post -p /sbin/ldconfig
54
55%postun -p /sbin/ldconfig
56
57
58%files
59%defattr(-,root,root,-)
60%doc ChangeLog COPYING NEWS README TODO
61%{_bindir}/qrencode
62%{_mandir}/man1/qrencode.1.*
63%{_libdir}/libqrencode.so.3
64%{_libdir}/libqrencode.so.3.1.1
65
66%files devel
67%defattr(-,root,root,-)
68%{_includedir}/qrencode.h
69%{_libdir}/libqrencode.so
70%{_libdir}/pkgconfig/libqrencode.pc
71
72
73%changelog
74* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.1.1-6
75- Initial build for Vine Linux
76
77* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
78- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
79
80* Tue Jul 13 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-4
81- Fixed the rpath problem.
82
83* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-3
84- Fixed some small spec mistakes.
85
86* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-2
87- Fixed some small errors.
88
89* Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
90- Initial build.
Note: See TracBrowser for help on using the repository browser.