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 | |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | |
---|
16 | %description |
---|
17 | Gallery is a web based photo album viewer/creator. |
---|
18 | |
---|
19 | After installation, please follow the installation procedures. |
---|
20 | 1) Add the following lines to httpd.conf |
---|
21 | ------------------------------------- |
---|
22 | <Directory /home/httpd/html/gallery> |
---|
23 | AllowOverride Options FileInfo |
---|
24 | </Directory> |
---|
25 | ------------------------------------- |
---|
26 | 2) Enable PHP3 for apache, by |
---|
27 | $ echo "OPTIONS=-DHAVE_PHP4" >> /etc/sysconfig/apache |
---|
28 | 3) set /etdc/php.ini as |
---|
29 | magic_quotes_qpc = Off |
---|
30 | 4) configure gallery by |
---|
31 | $ cd /home/httpd/html/gallery |
---|
32 | $ sh ./configure.sh |
---|
33 | Then, setup by accessing http://???/gallery/ |
---|
34 | |
---|
35 | %prep |
---|
36 | rm -rf %{buildroot} |
---|
37 | |
---|
38 | %build |
---|
39 | |
---|
40 | %install |
---|
41 | mkdir -p %{buildroot}/home/httpd/html/ |
---|
42 | cd %{buildroot}/home/httpd/html/ |
---|
43 | tar xzvf %{SOURCE0} |
---|
44 | |
---|
45 | mkdir -p %{buildroot}/home/httpd/html/albums |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf %{buildroot} |
---|
49 | |
---|
50 | %files |
---|
51 | %defattr(-,root,root) |
---|
52 | /home/httpd/html/gallery/ |
---|
53 | %attr(-,nobody,nobody)/home/httpd/html/albums |
---|
54 | |
---|
55 | %changelog |
---|
56 | * Thu Dec 6 2001 Jun Nishii <jun@vinelinux.org> 1.2.4-0vl2 |
---|
57 | - set BuildArch as noarch |
---|
58 | |
---|
59 | * Sun Dec 2 2001 Jun Nishii <jun@vinelinux.org> 1.2.4-0vl1 |
---|
60 | - first release |
---|
61 | |
---|