cabextract-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Summary: A program to extract Microsoft Cabinet files
  2. Summary(ja): Microsoft キャビネットファイルを抽出するプログラム
  3. Name: cabextract
  4. Version: 1.4
  5. Release: 1%{?_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. * Fri May 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4-1
  42. - new upstream release
  43. * Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3-3
  44. - fixed permission (see [VineLinux:1021])
  45. * Wed Aug 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3-2
  46. - recovered %build section
  47. - missing type make command...
  48. * Sun Aug 1 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3-1
  49. - new upstream release
  50. - cleaned up spec
  51. - changed lisence to GPLv3
  52. * Fri Jul 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2-2
  53. - spec in UTF-8
  54. * Mon Mar 24 2008 Seiichirou Babasaki 1.2
  55. - Import cabextract - Packager: Babasaki
  56. - Updated specfile