cabextract-vl.spec 2.1 KB

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