On 2006-08-19 12:15:04 +0200, jdd wrote:
Here the example spec file I received (thanks :-)
I have questions. I noted them with "###"
# # spec file for package makethumb (Version 0.1.01) # Name: makethumb Summary: makes web site for photos Version: 0.1 Release: 1 Group: Productivity/Graphics/Convertors License: GPL URL: http://www.dodin.net Source: %{name}-%{version}.tar.gz
###where are the % variables defined?
You defined them some lines above :) Name: makethumb Version: 0.1 ... "Name:", "Version:" etc. are special rpmtags.
BuildRoot: %{_tmppath}/%{name}-%{version}-build Packager: jdd <jdd@dodin.org> BuildArch: noarch Requires: bash jhead
###makethum needs some image converter that are usually installed by default. it can choose two of them. Oh can I say that? it needs imagemagic OR cjpeg/djpeg + netpbm
hmm you can try: Suggests: imagemagic Suggests: cjpeg...
%description Creates a web site with photos - index pages, three quality levels for images
%prep %setup -q
%install rm -rf %{buildroot}
Don't do that! Your %{buildroot} will be "cleaned" before the build starts.. see %clean section. Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org