]> git.pld-linux.org Git - packages/gallery.git/blob - gallery.spec
887615e2d80d979a9da26874eed23bb6fda56ab0
[packages/gallery.git] / gallery.spec
1 %define _rc     RC2
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:  a15cfbe3c156c1b7ea796e7e2a6d5d25
11 Source1:        http://dl.sourceforge.net/%{name}/pl_PL-pack-%{version}-RC1.tar.gz
12 # Source1-md5:  0993f84479e608c8fdea215ba1594d3f
13 Patch0:         %{name}-dont_warn_about_missing_files.patch
14 URL:            http://gallery.sourceforge.net/
15 BuildArch:      noarch
16 Requires:       webserver
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define gallerydir      /home/services/httpd/html/gallery
20
21 %description
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.
27
28 %description -l pl
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.
34
35 %prep
36 %setup -q -a1 -n %{name}
37 %patch0 -p1
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{gallerydir}
42
43 rm -f LICENSE.txt *.bat
44 mv pl_PL locale
45 cp -R * $RPM_BUILD_ROOT%{gallerydir}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc AUTHORS ChangeLog README
53 %dir %{gallerydir}
54 %attr(755,root,root) %{gallerydir}/*.sh
55 %{gallerydir}/*.php
56 %{gallerydir}/*.inc
57 %{gallerydir}/classes
58 %{gallerydir}/css
59 %{gallerydir}/docs
60 %{gallerydir}/errors
61 %{gallerydir}/html*
62 %{gallerydir}/images
63 %{gallerydir}/java
64 %{gallerydir}/js
65 %{gallerydir}/layout
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.124957 seconds and 3 git commands to generate.