]> git.pld-linux.org Git - packages/gallery.git/blob - gallery.spec
- updated to 1.4.2-RC1
[packages/gallery.git] / gallery.spec
1 %define _rc     RC1
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.4.2
6 Release:        0.%{_rc}.1
7 License:        GPL
8 Group:          Applications/Publishing
9 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}-%{_rc}.tar.gz
10 # Source0-md5:  08990a33087dd890c577d4a8452cd1cb
11 Source1:        http://dl.sourceforge.net/%{name}/pl_PL-pack-%{version}-%{_rc}.tar.gz
12 # Source1-md5:  0993f84479e608c8fdea215ba1594d3f
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}/css
57 %{gallerydir}/docs
58 %{gallerydir}/errors
59 %{gallerydir}/html*
60 %{gallerydir}/images
61 %{gallerydir}/java
62 %{gallerydir}/js
63 %{gallerydir}/layout
64 %{gallerydir}/platform
65 %{gallerydir}/po
66 %{gallerydir}/setup
67 %{gallerydir}/skins
68 %{gallerydir}/tools
69
70 %dir %{gallerydir}/locale
71 %{gallerydir}/locale/en_US
72 %lang(pl) %{gallerydir}/locale/pl_PL
This page took 0.07425 seconds and 3 git commands to generate.