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