gallery-vl.spec 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Summary: A web based photo album viewer/creator.
  2. Name: gallery
  3. Version: 1.2.4
  4. Release: 0vl2
  5. Source0: current.gallery.tar.gz
  6. Url: http://www.menalto.com/projects/gallery/index.php
  7. Copyright: GPL2
  8. BuildArch: noarch
  9. Group: Applications/Internet
  10. Requires: jhead, netpbm, php >= 4, apache
  11. Buildroot: %{_tmppath}/%{name}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. %description
  15. Gallery is a web based photo album viewer/creator.
  16. After installation, please follow the installation procedures.
  17. 1) Add the following lines to httpd.conf
  18. -------------------------------------
  19. <Directory /home/httpd/html/gallery>
  20. AllowOverride Options FileInfo
  21. </Directory>
  22. -------------------------------------
  23. 2) Enable PHP3 for apache, by
  24. $ echo "OPTIONS=-DHAVE_PHP4" >> /etc/sysconfig/apache
  25. 3) set /etdc/php.ini as
  26. magic_quotes_qpc = Off
  27. 4) configure gallery by
  28. $ cd /home/httpd/html/gallery
  29. $ sh ./configure.sh
  30. Then, setup by accessing http://???/gallery/
  31. %prep
  32. rm -rf %{buildroot}
  33. %build
  34. %install
  35. mkdir -p %{buildroot}/home/httpd/html/
  36. cd %{buildroot}/home/httpd/html/
  37. tar xzvf %{SOURCE0}
  38. mkdir -p %{buildroot}/home/httpd/html/albums
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root)
  43. /home/httpd/html/gallery/
  44. %attr(-,nobody,nobody)/home/httpd/html/albums
  45. %changelog
  46. * Thu Dec 6 2001 Jun Nishii <jun@vinelinux.org> 1.2.4-0vl2
  47. - set BuildArch as noarch
  48. * Sun Dec 2 2001 Jun Nishii <jun@vinelinux.org> 1.2.4-0vl1
  49. - first release