prison-vl.spec 2.1 KB

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