evilwm-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Summary: evilwm is a minimalist window manager for the X Window System.
  2. Summary(ja): evilwmは X Window System 用の必要最低限機能のウィンドウマネージャです。
  3. Name: evilwm
  4. Version: 1.0.1
  5. Release: 1%{?_dist_release}
  6. License: AEWM LICENCE
  7. URL: http://xxxx.net/
  8. Group: Interface/Desktops
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. BuildRequires: libXrandr-devel libXrender-devel libXext-devel
  13. Requires: libXrandr libXrender libXext zenity xsri xorg-x11-fonts-ISO8859-1-100dpi
  14. Source0: http://www.6809.org.uk/evilwm/%{name}-%{version}.tar.gz
  15. Source1: %{name}-execs.tar.bz2
  16. Source2: %{name}-cmds.tar.bz2
  17. Source3: %{name}.desktop
  18. Source4: start_%{name}
  19. Source5: exit_%{name}
  20. Source6: %{name}.txt
  21. Source7: %{name}-autostart
  22. Source10: mirror-vine.jpg
  23. Patch1: evilwm-extwm.patch
  24. %description
  25. evilwm is a minimalist window manager for the X Window System.
  26. %description -l ja
  27. evilwmは X Window System 用の必要最低限機能のウィンドウマネージャです。
  28. %prep
  29. %setup -q -a 1
  30. %patch1 -p1
  31. %build
  32. %__make
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. %__make DESTDIR=$RPM_BUILD_ROOT install
  36. # install DM entry
  37. %__mkdir -p %{buildroot}%{_sysconfdir}/X11/dm/Sessions/
  38. %__install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/dm/Sessions/
  39. # install evilwm start & exit command
  40. %__install -m 0755 %{SOURCE4} %{SOURCE5} %{buildroot}%{_bindir}/
  41. # install hot-key evilwm commands
  42. %__install -m 0755 %{name}-exec? %{buildroot}%{_bindir}/
  43. # install hot-key usercommands, document, autostart file & wall paper
  44. %__mkdir -p %{buildroot}%{_datadir}/%{name}
  45. %__install -m 0644 %{SOURCE2} %{SOURCE6} %{SOURCE7} %{SOURCE10} %{buildroot}%{_datadir}/%{name}/
  46. %clean
  47. %__rm -rf ${RPM_BUILD_ROOT}
  48. %files
  49. %defattr(-,root,root)
  50. %doc README TODO ChangeLog
  51. %{_bindir}/*
  52. %{_datadir}/*
  53. %{_sysconfdir}/*
  54. %changelog
  55. * Sun Aug 30 2009 KATO Masashi <mkato@par.odn.ne.jp> 1.0.1-1
  56. - initial Vine release
  57. * Thu Aug 27 2009 KATO Masashi <mkato@par.odn.ne.jp> 1.0.1-0.3.9
  58. - extend hot-keys