home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 July / Chip_2001-07_cd1.bin / tema / linux6 / kchmod-0.2.spec < prev    next >
Text File  |  2001-06-04  |  2KB  |  65 lines

  1. Summary: A program that ejects removable media using software control.
  2. Name: kchmod
  3. Version: 0.2
  4. Release: 1
  5. Copyright: GPL
  6. Group: Applications/System
  7. Source: kchmod-0.2.tar.gz
  8.  
  9. BuildRoot: /var/tmp/%{name}-buildroot
  10.  
  11. %description
  12. The kchmod program allows the user to change file/directory
  13. permissions using graphical environment. 
  14.  
  15. Install kchmod if you'd like to feel comfortably with security things.
  16.  
  17. %prep
  18. %setup -q
  19. ./configure
  20. %build
  21. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
  22.  
  23.  
  24. %install
  25. make install
  26. mkdir -p $RPM_BUILD_ROOT/usr/bin
  27. mkdir -p $RPM_BUILD_ROOT/usr/doc/kde/HTML/en/kchmod
  28. mkdir -p $RPM_BUILD_ROOT/usr/share/icons/mini
  29. mkdir -p $RPM_BUILD_ROOT/usr/share/icons
  30. mkdir -p $RPM_BUILD_ROOT/usr/share/applnk/Applications
  31.  
  32. install -s -m 755 kchmod/kchmod $RPM_BUILD_ROOT/usr/bin/kchmod
  33. install -m 644 kchmod/docs/en/index-1.html $RPM_BUILD_ROOT/usr/doc/kde/HTML/en/kchmod/index-1.html
  34. install -m 644 kchmod/docs/en/index-2.html $RPM_BUILD_ROOT/usr/doc/kde/HTML/en/kchmod/index-2.html
  35. install -m 644 kchmod/docs/en/index-3.html $RPM_BUILD_ROOT/usr/doc/kde/HTML/en/kchmod/index-3.html
  36. install -m 644 kchmod/docs/en/index-5.html $RPM_BUILD_ROOT/usr/doc/kde/HTML/en/kchmod/index-5.html
  37. install -m 644 kchmod/docs/en/index-6.html $RPM_BUILD_ROOT/usr/doc/kde/HTML/en/kchmod/index-6.html
  38. install -m 644 kchmod/docs/en/index.html $RPM_BUILD_ROOT/usr/doc/kde/HTML/en/kchmod/index.html
  39. install -m 644 kchmod/docs/en/logotp3.gif $RPM_BUILD_ROOT/usr/doc/kde/HTML/en/kchmod/logotp3.gif
  40. install -m 644 kchmod/.xvpics/kchmod.xpm $RPM_BUILD_ROOT/usr/share/icons/mini/kchmod.xpm
  41. install -m 644 kchmod/kchmod.xpm $RPM_BUILD_ROOT/usr/share/icons/kchmod.xpm
  42. install -m 644 kchmod/kchmod.kdelnk $RPM_BUILD_ROOT/usr/share/applnk/Applications/kchmod.kdelnk
  43.  
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46.  
  47. %files
  48.  
  49. %defattr(-,root,root)
  50. %doc README TODO COPYING ChangeLog
  51. /usr/bin/kchmod
  52. /usr/doc/kde/HTML/en/kchmod
  53. /usr/share/icons/mini/kchmod.xpm
  54. /usr/share/icons/kchmod.xpm
  55. /usr/share/applnk/Applications/kchmod.kdelnk
  56.  
  57. %changelog
  58. * Sat Oct 07 2000 Jiri Kouba <jiri.kouba@volny.cz> 
  59. - new build 
  60.  
  61.  
  62.  
  63.  
  64.  
  65.