[4447] | 1 | Name: prison |
---|
| 2 | Summary: A Qt-based barcode abstraction library |
---|
[8430] | 3 | Version: 1.1.1 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[4447] | 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: MIT |
---|
| 8 | URL: https://projects.kde.org/projects/kdesupport/prison |
---|
| 9 | |
---|
[8430] | 10 | Source0: ftp://ftp.kde.org/pub/kde/stable/prison/1.0/src/%{name}-%{version}.tar.xz |
---|
[4447] | 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 |
---|
[8430] | 68 | * Mon May 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.1-1 |
---|
| 69 | - new upstream release |
---|
| 70 | |
---|
[6655] | 71 | * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0-5 |
---|
| 72 | - rebuild package |
---|
| 73 | |
---|
[4447] | 74 | * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-4 |
---|
| 75 | - Initial build for Vine Linux |
---|
| 76 | |
---|
| 77 | * Wed Jun 29 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.0-3 |
---|
| 78 | - %%files: track soname |
---|
| 79 | - minor cosmetics |
---|
| 80 | |
---|
| 81 | * Fri May 20 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.0-2 |
---|
| 82 | - prison is qt only library |
---|
| 83 | |
---|
| 84 | * Fri May 20 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.0-1 |
---|
| 85 | - initial package |
---|