RPM spec file problem z RPM-jem

Novak Dusan ITICMC d.novak at iskratel.si
Tue Jul 22 13:49:48 CEST 2003



> Pozdravljeni,
> 
> Tole spodaj je moj RPM spec file. Ta zadeva deluje na RedHat 7.1 verzija
> RPM-ja je rpm-4.0.3-1.03. Ko pa želim pognati to na RedHat 8 ali 9 pa mu
> nekaj ni vsec. 
> Javi mi:     error: line 47: second %prep
> 
> Mi lahko kdo pomaga.
> 
> 
> #
> # RPM '.spec' file 
> # Packager:zebec at iskratel.si
> #
> 
> %define name SIP_ENGINE
> %define version v1.4.1
> %define release 1
> 
> # Name of the program 
> Name: %{name}
> 
> # Brief summary of what the program is 
> Summary: SIP Engine for Pegasus
> 
> # What version the program is 
> Version: %{version}
> 
> # What version the package is for this particular name and version 
> Release: %{release}
> 
> # What file or files are being used 
> Source: %{name}-%{version}.tar.gz
> 
> #Buildroot: %{_tmppath}/%{name}-%{version-root}
> 
> # For graphical packagers, where this package should be filed in the rpm
> database 
> Group: Development/Other
> 
> # Open Source, private source, GPL, lawyers-r-us 
> Copyright: private source
> 
> # Who is making this rpm 
> Packager: zebec at iskratel.si
> 
> # A part of product
> Distribution: Suse/RedHat
> 
> # A longer description of the program 
> %description
> SIP Engine is !!!!
> # Get everything ready for the install.  This mainly consists of untarring
> and unzipping the files
> %prep
> %setup
> %install
> # An macro associated with %prep.  It automatically unzips and untars the
> source file 
> 
> # This is where you tell the rpm to put the files that you want
> 
> 
> # Here you run any scripts that need to be ran after the files are in
> place.
> There arn't any built in ones like %prep has
> #%post 
> #/home/dictator/instructions 
> 
> # This is one of the most important section, other than %install.  This
> tells rpm what files have been installed and where they are
> %files
> %defattr(-,root,root,0755)
> %dir /Pegasus_IMS1
> %dir /Pegasus_IMS1/License
> %dir /Pegasus_IMS1/Log_and_Trace
> %dir /Pegasus_IMS1/Parameter
> %dir /Pegasus_IMS1/Peg_System
> %dir /Pegasus_IMS1/Scenarios
> %dir /Pegasus_IMS1/Schemas
> %dir /Pegasus_IMS1/SystemConfiguration
> %dir /Pegasus_IMS1/TestCollection
> 
> /Pegasus_IMS1/Pegasus.ico
> /Pegasus_IMS1/Pegasus_IMS.jar
> /Pegasus_IMS1/xercesImpl.jar
> /Pegasus_IMS1/xmlParserAPIs.jar
> /Pegasus_IMS1/Peg_System/pegasus.ini
> /Pegasus_IMS1/Scenarios/*.xml
> /Pegasus_IMS1/Schemas/scenario.xsd
> /Pegasus_IMS1/SystemConfiguration/Dummy.cfg
> 
> %changelog
> * Fri May 23 2003 Branko Zebec <zebec at iskratel.si>
> First release!!!
> 
> 
> Thanks a lot
> 
> 



More information about the lugos-list mailing list