cabextract-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Summary: A program to extract Microsoft Cabinet files
  2. Summary(ja): Microsoft キャビネットファイルを抽出するプログラム
  3. Name: cabextract
  4. Version: 1.4
  5. Release: 2%{?_dist_release}
  6. License: GPLv3
  7. Group: Applications/Archiving
  8. Source: http://www.kyz.uklinux.net/downloads/%{name}-%{version}.tar.gz
  9. URL: http://www.kyz.uklinux.net/cabextract.php
  10. #Vendor: Stuart Caie
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Prefix: /usr
  13. #--------------------------------------------------------------------
  14. %description
  15. Cabinet (.CAB) files are a form of archive, which Microsoft use to
  16. distribute their software, and things like Windows Font Packs. The
  17. cabextract program unpacks these files.
  18. %description -l ja
  19. Microsoft 社の配布するソフトウェア、例えば Windows フォントパック等で
  20. 使用されているキャビネット (.CAB) 形式のアーカイブファイルがあります。
  21. cabextract プログラムはこれらのファイルの解凍を行います。
  22. #--------------------------------------------------------------------
  23. %prep
  24. %setup -q
  25. %build
  26. CFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{prefix}
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf ${RPM_BUILD_ROOT}
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. %clean
  32. [ ${RPM_BUILD_ROOT} != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  33. #--------------------------------------------------------------------
  34. %files
  35. %defattr(0644, root, root, 0755)
  36. %doc AUTHORS ChangeLog NEWS README
  37. %attr(0755, root, root) %{_bindir}/cabextract
  38. %{_mandir}/man1/cabextract.1*
  39. #--------------------------------------------------------------------
  40. %changelog
  41. * Sun Jan 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4-2
  42. - rebuilt with current toolchain
  43. * Fri May 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4-1
  44. - new upstream release
  45. * Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3-3
  46. - fixed permission (see [VineLinux:1021])
  47. * Wed Aug 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3-2
  48. - recovered %build section
  49. - missing type make command...
  50. * Sun Aug 1 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3-1
  51. - new upstream release
  52. - cleaned up spec
  53. - changed lisence to GPLv3
  54. * Fri Jul 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2-2
  55. - spec in UTF-8
  56. * Mon Mar 24 2008 Seiichirou Babasaki 1.2
  57. - Import cabextract - Packager: Babasaki
  58. - Updated specfile