Summary: Web based photo album viewer and creator. Summary(pl): Przeglądarka i generator albumów zdjęć w postaci stron WWW Name: gallery Version: 1.4.1 Release: 1 License: GPL Group: Applications/Publishing Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz # Source0-md5: 7152ba06c6c879695cefd260acfd9b8f Source1: http://dl.sourceforge.net/%{name}/pl_PL-pack-%{version}.tar.gz # Source1-md5: 0ff9a42839a944612d6a618d6ee83b03 URL: http://gallery.sourceforge.net/ BuildArch: noarch Requires: webserver BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define gallerydir /home/services/httpd/html/gallery %description Gallery is a photo album that includes a config wizard and lets users create and maintain albums via an intuitive Web interface. Photo management includes automatic thumbnail creation, image resizing, rotation, ordering and more. Albums can have read, write, and caption permissions per individual. %description -l pl Gallery jest albumem zdjęć, który posiadaj kreatora konfiguracji i pozwala użytkownikom tworzyć i zarządzać albumami przez intuicyjny interfejs WWW. Zarządzanie zdjęciami umożliwia automatyczne tworzenie miniatur, zmianę wielkości obrazów, obrót, zmianę kolejności wyświetlania, itp. Albumy mogą posiadać indywidualne uprawnienia. %prep %setup -q -a1 -n %{name} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{gallerydir} rm -f LICENSE.txt *.bat mv pl_PL locale cp -R * $RPM_BUILD_ROOT%{gallerydir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog README RELEASE_NOTES %dir %{gallerydir} %attr(755,root,root) %{gallerydir}/*.sh %{gallerydir}/*.php %{gallerydir}/*.inc %{gallerydir}/classes %{gallerydir}/css %{gallerydir}/docs %{gallerydir}/errors %{gallerydir}/html* %{gallerydir}/images %{gallerydir}/java %{gallerydir}/js %{gallerydir}/layout %{gallerydir}/platform %{gallerydir}/po %{gallerydir}/setup %{gallerydir}/skins %{gallerydir}/tools %dir %{gallerydir}/locale %{gallerydir}/locale/en_US %lang(pl) %{gallerydir}/locale/pl_PL