[4447] | 1 | Name: prison |
---|
| 2 | Summary: A Qt-based barcode abstraction library |
---|
[9302] | 3 | Summary(ja): Qt ベースのバーコード抽象化ライブラリ |
---|
[8430] | 4 | Version: 1.1.1 |
---|
[9302] | 5 | Release: 2%{?_dist_release} |
---|
[4447] | 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: MIT |
---|
| 9 | URL: https://projects.kde.org/projects/kdesupport/prison |
---|
| 10 | |
---|
[8430] | 11 | Source0: ftp://ftp.kde.org/pub/kde/stable/prison/1.0/src/%{name}-%{version}.tar.xz |
---|
[4447] | 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 |
---|
[9302] | 24 | Summary: Development files for %{name} |
---|
| 25 | Summary(ja): %{name} の開発用ファイル |
---|
| 26 | Group: Development/Libraries |
---|
| 27 | Requires: %{name} = %{version}-%{release} |
---|
| 28 | |
---|
[4447] | 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 |
---|
[9302] | 72 | * Mon Jan 26 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.1.1-2 |
---|
| 73 | - added Group tag to devel subpackage |
---|
| 74 | - added Japanese summary |
---|
| 75 | |
---|
[8430] | 76 | * Mon May 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.1-1 |
---|
| 77 | - new upstream release |
---|
| 78 | |
---|
[6655] | 79 | * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0-5 |
---|
| 80 | - rebuild package |
---|
| 81 | |
---|
[4447] | 82 | * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-4 |
---|
| 83 | - Initial build for Vine Linux |
---|
| 84 | |
---|
| 85 | * Wed Jun 29 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.0-3 |
---|
| 86 | - %%files: track soname |
---|
| 87 | - minor cosmetics |
---|
| 88 | |
---|
| 89 | * Fri May 20 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.0-2 |
---|
| 90 | - prison is qt only library |
---|
| 91 | |
---|
| 92 | * Fri May 20 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.0-1 |
---|
| 93 | - initial package |
---|