source: projects/specs/trunk/g/gallery/gallery-vl.spec @ 521

Revision 521, 1.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: A web based photo album viewer/creator.
2Name: gallery
3Version: 1.2.4
4Release: 0vl2
5Source0: current.gallery.tar.gz
6Url: http://www.menalto.com/projects/gallery/index.php
7Copyright: GPL2
8BuildArch: noarch
9Group: Applications/Internet
10Requires: jhead, netpbm, php >= 4, apache
11Buildroot: %{_tmppath}/%{name}-root
12
13Vendor: Project Vine
14Distribution: Vine Linux
15
16%description
17Gallery is a web based photo album viewer/creator.
18
19After installation, please follow the installation procedures.
201) Add the following lines to httpd.conf
21-------------------------------------
22<Directory /home/httpd/html/gallery>
23    AllowOverride Options FileInfo
24</Directory>
25-------------------------------------
262) Enable PHP3 for apache, by
27$ echo "OPTIONS=-DHAVE_PHP4" >> /etc/sysconfig/apache
283) set /etdc/php.ini as
29magic_quotes_qpc = Off
304) configure gallery by
31$ cd /home/httpd/html/gallery
32$ sh ./configure.sh
33Then, setup by accessing http://???/gallery/
34
35%prep
36rm -rf %{buildroot}
37
38%build
39
40%install
41mkdir -p %{buildroot}/home/httpd/html/
42cd  %{buildroot}/home/httpd/html/
43tar xzvf %{SOURCE0}
44
45mkdir -p %{buildroot}/home/httpd/html/albums
46
47%clean
48rm -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
Note: See TracBrowser for help on using the repository browser.