isomaster-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. %define name isomaster
  2. %define version 1.3.5
  3. %define release 1%{?_dist_release}
  4. Summary: An easy to use graphical CD image editor
  5. Summary(ja): 使いやすい GUI の CD イメージエディタ
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: %{name}-%{version}.tar.bz2
  10. Source1: isomaster-ja.po
  11. #Source2: isomaster-ja.mo
  12. Source3: isomaster.desktop.vine
  13. Patch1: isomaster-1.3.5-optflags.patch
  14. License: GPL
  15. Group: Applications/Accessories
  16. URL: http://littlesvr.ca/isomaster/
  17. BuildRequires: gtk2-devel, gettext
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. Packager: kazutaka
  20. %description
  21. ISO Master is an open-source, easy to use, graphical CD image
  22. editor for Linux and BSD. Basically you can use this program
  23. to extract files from an ISO, add files to an ISO, and create
  24. bootable ISOs - all in a graphical user interface. It can
  25. open ISO, NRG, and some MDF files but can only save as ISO.
  26. %description -l ja
  27. ISO Masgete は Linux と BSD 向けのオープンソースで使いやすい
  28. グラフィカルな CD イメージエディタです。
  29. %prep
  30. %setup -q
  31. %patch1 -p1 -b .optflags
  32. %build
  33. make PREFIX=%{_prefix} OPTFLAGS="%{optflags}"
  34. %install
  35. %{__rm} -rf ${RPM_BUILD_ROOT}
  36. make install DESTDIR=${RPM_BUILD_ROOT} PREFIX=%{_prefix}
  37. %{__mkdir} -p ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES
  38. msgfmt %{SOURCE1} -o ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES/isomaster.mo
  39. %{__cp} -f %{SOURCE3} ${RPM_BUILD_ROOT}/%{_datadir}/applications/isomaster.desktop
  40. %find_lang %{name}
  41. %clean
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. %files -f %{name}.lang
  44. %defattr(-,root,root)
  45. %doc CHANGELOG.TXT CREDITS.TXT LICENCE.TXT README.TXT TODO.TXT
  46. %{_bindir}/isomaster
  47. %{_datadir}/isomaster
  48. %{_datadir}/applications/isomaster.desktop
  49. %{_mandir}/man1/isomaster.1*
  50. %changelog
  51. * Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.3.5-1
  52. - new upstream release
  53. - update Patch1 (isomaster-1.3.5-optflags.patch)
  54. - update Source1 (japanese message catalog)
  55. - update Source3 (isomaster.desktop.vine)
  56. - update japanese description
  57. - drop Source2 and compile message catalog at %%install section
  58. * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-1vl5
  59. - applied new versioning policy, spec in utf-8
  60. * Mon Jul 16 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0-0vl1
  61. - initial build for Vine Linux.