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