On Mon, June 25, 2007 08:00, centos-request@centos.org wrote:
Send CentOS mailing list submissions to centos@centos.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos or, via email, send a message with subject or body 'help' to centos-request@centos.org
You can reach the person managing the list at centos-owner@centos.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of CentOS digest..."
Today's Topics:
- How to build clamav SRPM and RPM with calmav tarbal - CentOS 5 (Indunil Jayasooriya)
- Re: How to build clamav SRPM and RPM with calmav tarbal - CentOS 5 (Akemi Yagi)
- Re: How to build clamav SRPM and RPM with calmav tarbal - CentOS 5 (Indunil Jayasooriya)
- Centos 5: e1000 question (Mogens Kjaer)
- bind on centos 5 (Indunil Jayasooriya)
- Re: bind on centos 5 (Ralph Angenendt)
Message: 1 Date: Mon, 25 Jun 2007 10:07:09 +0530 From: "Indunil Jayasooriya" indunil75@gmail.com Subject: [CentOS] How to build clamav SRPM and RPM with calmav tarbal
- CentOS 5
To: "CentOS mailing list" centos@centos.org Message-ID: 7ed6b0aa0706242137g7d75c327me6c712b8535009e@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Hi All,
I am trying to build SRPM and RPM out of cureent clamav tarball.
I just download it to /ur/src/redhat/SOURCES as follows.
[root@mail SOURCES]# wget http://freshmeat.net/redir/clamav/29355/url_tgz/clamav-0.90.3.tar.gz
When I issue rpmbuild -ta, it gave below error.
[root@mail SOURCES]# rpmbuild -ta clamav-0.90.3.tar.gz error: Name field must be present in package: (main package) error: Version field must be present in package: (main package) error: Release field must be present in package: (main package) error: Summary field must be present in package: (main package) error: Group field must be present in package: (main package) error: License field must be present in package: (main package)
I think , may be it does not have a SPEC file.
Then, What I did was I got clamav Version 0.90.2 Spec file from below URL.
http://crash.fce.vutbr.cz/crash-hat/5/clamav/clamav.spec
and copied it to /usr/src/redhat/SPECS/ and changed it's Version: 0.90.2to Version: 0.90.3
and ran it again as folows. then, again, it gave below error.
[root@mail SPECS]# rpmbuild -ta clamav.spec error: Name field must be present in package: (main package) error: Version field must be present in package: (main package) error: Release field must be present in package: (main package) error: Summary field must be present in package: (main package) error: Group field must be present in package: (main package) error: License field must be present in package: (main package)
then, I tried as follows.
[root@mail SPECS]# rpmbuild -ba clamav.spec
then , It gave below error. error: File /usr/src/redhat/SOURCES/clamav-milter-dontsux.patch: No such file or directory
What's wrong with it?
Where have I gone worng?
How to build both clamav SRPM AND RPM for CentOS 5
-- Thank you Indunil Jayasooriya