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