danpei-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Summary: Gtk+ based image viewer.
  2. Summary(ja): Gtk+ ベースのイメージビューワ
  3. Name: danpei
  4. Version: 2.9.7
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Multimedia
  8. URL: http://sourceforge.net/projects/danpei/
  9. Source: %{name}-%{version}.tar.gz
  10. BuildPrereq: gtk+-devel > 1.2.6, gdk-pixbuf-devel, libpng-devel, ImageMagick-devel
  11. Requires: gtk+ > 1.2.6, gdk-pixbuf, libpng, ImageMagick
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. %description
  14. Danpei is a Gtk+ based thumbnail image viewer. You can rename files very easily looking through them in thumbnail forms.
  15. %description -l ja
  16. Danpei は Gtk+ ベースのイメージビューワです。サムネイル形式で画像を一覧しながら、簡単にファイル名をリネームできます。
  17. %prep
  18. %setup -q
  19. %build
  20. %configure
  21. make
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. mkdir -p $RPM_BUILD_ROOT%{_prefix}
  25. mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
  26. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
  27. cp -aRp [ACFINRT]* misc $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
  28. cp -ap src/icon/danpei.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
  29. %makeinstall \
  30. DESTDIR=$RPM_BUILD_ROOT \
  31. bindir=%{_bindir}\
  32. localedir=%{_datadir}/locale
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root)
  37. %doc %{_docdir}/%{name}-%{version}/*
  38. %{_bindir}/danpei
  39. %{_datadir}/locale/ja/LC_MESSAGES/danpei.mo
  40. %{_datadir}/pixmaps/danpei.xpm
  41. %changelog
  42. * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 2.9.7-1vl5
  43. - applied new versioning policy, spec in utf-8
  44. * Wed Aug 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.9.7-0vl1
  45. - updated to 2.9.7
  46. - changed Group to Applications/Multimedia
  47. * Thu May 13 2004 Satoshi MACHINO <machino@vinelinux.org> 2.9.4-0vl1
  48. - initial release