1 | Name: prison |
---|
2 | Summary: A Qt-based barcode abstraction library |
---|
3 | Version: 1.0 |
---|
4 | Release: 5%{?_dist_release} |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: MIT |
---|
8 | URL: https://projects.kde.org/projects/kdesupport/prison |
---|
9 | |
---|
10 | Source0: ftp://ftp.kde.org/pub/kde/stable/prison/1.0/src/%{name}-%{version}.tar.gz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: cmake |
---|
14 | BuildRequires: libdmtx-devel |
---|
15 | BuildRequires: qrencode-devel |
---|
16 | BuildRequires: qt4-devel |
---|
17 | |
---|
18 | %description |
---|
19 | Prison is a Qt-based barcode abstraction layer/library that provides |
---|
20 | an uniform access to generation of barcodes with data. |
---|
21 | |
---|
22 | %package devel |
---|
23 | Summary: Development files for %{name} |
---|
24 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
25 | %description devel |
---|
26 | %{summary} |
---|
27 | |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q |
---|
31 | |
---|
32 | |
---|
33 | %build |
---|
34 | mkdir -p %{_target_platform} |
---|
35 | pushd %{_target_platform} |
---|
36 | %{cmake} .. |
---|
37 | popd |
---|
38 | make %{?_smp_mflags} -C %{_target_platform} |
---|
39 | |
---|
40 | |
---|
41 | %install |
---|
42 | rm -rf %{buildroot} |
---|
43 | make install/fast -C %{_target_platform} DESTDIR=%{buildroot} |
---|
44 | |
---|
45 | |
---|
46 | %clean |
---|
47 | rm -rf %{buildroot} |
---|
48 | |
---|
49 | |
---|
50 | %post -p /sbin/ldconfig |
---|
51 | |
---|
52 | %postun -p /sbin/ldconfig |
---|
53 | |
---|
54 | |
---|
55 | %files |
---|
56 | %defattr(-,root,root,-) |
---|
57 | %doc LICENSE |
---|
58 | %{_libdir}/libprison.so.0* |
---|
59 | |
---|
60 | %files devel |
---|
61 | %defattr(-,root,root,-) |
---|
62 | %{_includedir}/prison/ |
---|
63 | %{_libdir}/libprison.so |
---|
64 | %{_libdir}/cmake/Prison/ |
---|
65 | |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0-5 |
---|
69 | - rebuild package |
---|
70 | |
---|
71 | * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-4 |
---|
72 | - Initial build for Vine Linux |
---|
73 | |
---|
74 | * Wed Jun 29 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.0-3 |
---|
75 | - %%files: track soname |
---|
76 | - minor cosmetics |
---|
77 | |
---|
78 | * Fri May 20 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.0-2 |
---|
79 | - prison is qt only library |
---|
80 | |
---|
81 | * Fri May 20 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.0-1 |
---|
82 | - initial package |
---|