2 # - SECURITY: http://securitytracker.com/alerts/2004/Aug/1010971.html
3 Summary: Web based photo album viewer and creator.
4 Summary(pl): Przegl±darka i generator albumów zdjêæ w postaci stron WWW
9 Group: Applications/Publishing
10 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
11 # Source0-md5: fe21d5c2c48699666f20a6108805c44c
12 Source1: http://dl.sourceforge.net/%{name}/pl_PL-%{version}.tar.gz
13 # Source1-md5: 02e7ee87006aa91f6cc0cd2b60ae72c7
14 URL: http://gallery.sourceforge.net/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define gallerydir /home/services/httpd/html/gallery
22 Gallery is a photo album that includes a config wizard and lets users
23 create and maintain albums via an intuitive Web interface. Photo
24 management includes automatic thumbnail creation, image resizing,
25 rotation, ordering and more. Albums can have read, write, and caption
26 permissions per individual.
29 Gallery jest albumem zdjêæ, który posiadaj kreatora konfiguracji i
30 pozwala u¿ytkownikom tworzyæ i zarz±dzaæ albumami przez intuicyjny
31 interfejs WWW. Zarz±dzanie zdjêciami umo¿liwia automatyczne tworzenie
32 miniatur, zmianê wielko¶ci obrazów, obrót, zmianê kolejno¶ci
33 wy¶wietlania, itp. Albumy mog± posiadaæ indywidualne uprawnienia.
36 %setup -q -a1 -n %{name}
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{gallerydir}
42 rm -f LICENSE.txt *.bat
44 cp -R * $RPM_BUILD_ROOT%{gallerydir}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc AUTHORS ChangeLog README
53 %attr(755,root,root) %{gallerydir}/*.sh
63 %{gallerydir}/includes
68 %{gallerydir}/platform
74 %dir %{gallerydir}/locale
75 %{gallerydir}/locale/en_US
76 %lang(pl) %{gallerydir}/locale/pl_PL