[Bug 181599] Review Request: gallery: web based photo album software
bugzilla at redhat.com
bugzilla at redhat.com
Thu May 25 18:39:51 UTC 2006
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Review Request: gallery: web based photo album software
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=181599
------- Additional Comments From enrico.scholz at informatik.tu-chemnitz.de 2006-05-25 14:32 EST -------
fwiw, the multiple subpackages can be created shorter by a macro like
---
%global spc_nil %nil
%global spc %spc_nil %spc_nil
%global true 1
%trace
%{?true:%global pkgdcl(n:N:d:R:) \
%package %%{-n*} \
Summary: %%{-N*} module for Gallery 2 \
Group: Applications/Publishing \
Requires: gallery2 = %%{version}-%%{release} \
%%{?-R:Requires:%%{-R*}} \
\
%description %%{-n*} \
Gallery 2 module - %%{-d*} \
\
%files %%{-n*} \
%defattr(-,root,root,-) \
%{installprefix}/gallery2/modules/%%{-n*} \
}
---
which can be used like
---
%{pkgdcl -n albumselect -N Albumselect \
-d Jump%{spc}directly%{spc}to%{spc}any%{spc}album%{spc}using%{spc}a%{spc}select%{spc}box%{spc}or%{spc}tree%{spc}view}
%{pkgdcl -n netpbm - N NetPBM \
-d NetPBM%{spc}Graphics%{spc}Toolkit
-R netpbm>=9.0}
...
---
This creates
* the '%package ...' + related headers
* the '%description'
* the '%files'
Generating spaces is a little bit tricky; for description you can use
perhaps '%*' too. It's up to the exercise of the reader to write such a
modified macro ;)
--
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Fedora-package-review
mailing list