]> git.pld-linux.org Git - packages/gallery.git/blob - gallery.spec
b58bd114a1eed0877198c7ab007ec14e13496f0d
[packages/gallery.git] / gallery.spec
1 # TODO:
2 # - SECURITY: http://securitytracker.com/alerts/2004/Aug/1010971.html
3
4 %define         _pl     pl4
5
6 Summary:        Web based photo album viewer and creator.
7 Summary(pl):    Przegl±darka i generator albumów zdjêæ w postaci stron WWW
8 Name:           gallery
9 Version:        1.4.4
10 Release:        2.%{_pl}.1
11 License:        GPL
12 Group:          Applications/Publishing
13 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}-%{_pl}.tar.gz
14 # Source0-md5:  ad84576e9dedb24fdf3c5b90cd3003ef
15 Source1:        http://dl.sourceforge.net/%{name}/pl_PL-%{version}.tar.gz
16 # Source1-md5:  b6949d63f0e3d4bb015514726005d231
17 URL:            http://gallery.sourceforge.net/
18 BuildArch:      noarch
19 Requires:       webserver
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define gallerydir      /home/services/httpd/html/gallery
23
24 %description
25 Gallery is a photo album that includes a config wizard and lets users
26 create and maintain albums via an intuitive Web interface. Photo
27 management includes automatic thumbnail creation, image resizing,
28 rotation, ordering and more. Albums can have read, write, and caption
29 permissions per individual.
30
31 %description -l pl
32 Gallery jest albumem zdjêæ, który posiadaj kreatora konfiguracji i
33 pozwala u¿ytkownikom tworzyæ i zarz±dzaæ albumami przez intuicyjny
34 interfejs WWW. Zarz±dzanie zdjêciami umo¿liwia automatyczne tworzenie
35 miniatur, zmianê wielko¶ci obrazów, obrót, zmianê kolejno¶ci
36 wy¶wietlania, itp. Albumy mog± posiadaæ indywidualne uprawnienia.
37
38 %prep
39 %setup -q -a1 -n %{name}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{gallerydir}
44
45 rm -f LICENSE.txt *.bat
46 mv pl_PL locale
47 cp -R * $RPM_BUILD_ROOT%{gallerydir}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc AUTHORS ChangeLog README
55 %dir %{gallerydir}
56 %attr(755,root,root) %{gallerydir}/*.sh
57 %{gallerydir}/*.php
58 %{gallerydir}/*.inc
59 %{gallerydir}/classes
60 %{gallerydir}/contrib
61 %{gallerydir}/css
62 %{gallerydir}/docs
63 %{gallerydir}/errors
64 %{gallerydir}/html*
65 %{gallerydir}/images
66 %{gallerydir}/includes
67 %{gallerydir}/java
68 %{gallerydir}/js
69 %{gallerydir}/layout
70 %{gallerydir}/lib
71 %{gallerydir}/platform
72 %{gallerydir}/po
73 %{gallerydir}/setup
74 %{gallerydir}/skins
75 %{gallerydir}/tools
76
77 %dir %{gallerydir}/locale
78 %{gallerydir}/locale/en_US
79 %lang(pl) %{gallerydir}/locale/pl_PL
This page took 0.069787 seconds and 3 git commands to generate.