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?

BuildRoot:  %{_tmppath}/%{name}-%{version}-build
Packager:   jdd <[EMAIL PROTECTED]>
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

%description
Creates a web site with photos - index pages, three quality levels for images

%prep
%setup -q

%install
rm -rf %{buildroot}

# install the script. The default location will expand to
# usr/bin
#
install -D -m755 %{name}.sh %{buildroot}%{_bindir}/%{name}.sh

# uncomment these lines if you include a man page,
#
#mkdir -p %{buildroot}/%{_mandir}/man1
#install -D -m755 %{name}.1 %{buildroot}%{_mandir}/man1/

%files
%defattr(-,root,root,0755)
%{_bindir}/%{name}.sh

# uncomment this line if you include a man page
#
#%{_mandir}/man1/%{name}.1*

# uncomment these lines if you include one of these files
#
#%doc COPYING
#%doc INSTALL
#%doc README

%clean
rm -rf %{buildroot}
###end of spec file

jdd
--
http://www.dodin.net
http://dodin.org/galerie_photo_web/expo/index.html
http://lucien.dodin.net
http://fr.susewiki.org/index.php?title=Gérer_ses_photos
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to