bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RPM for Icecat


From: Bruno Miguel
Subject: Re: RPM for Icecat
Date: Sat, 16 Jan 2010 20:25:31 +0000
User-agent: KMail/1.12.4 (Linux/2.6.31.9-174.fc12.i686; KDE/4.3.4; i686; ; )

On Saturday 16 January 2010 20:13:53 Giuseppe Scrivano wrote:
> Bruno Miguel <address@hidden> writes:
> > When I start creating the RPM, the script removes the source folder,
> > leaving only the tarball and then extracting it. The problem is, I think,
> > with the spec file, but I'm stuck with it. :(
> 
> I don't have any clue about .rpm and spec files, but can you please
> share your current work here?  Maybe somebody can give you some hints.
> 
> Does the "old way" ./configure && make work well on the same system?
> 
> Thanks,
> Giuseppe
> 

Good old "./configure; make; make install" works like a charm.

So far, this is my spec file. As you can see, it's no longer based in Firefox 
one.

%define tarball icecat-3.5.7.tar.bz2                                    
%define tarballdir /home/makerpm/rpmbuild/BUILD/icecat-3.5.7/           

Summary: GNUZilla Icecat browser
Name: icecat                    
Version: 3.5.7                  
Release:        1%{?dist}       
Source0: %{tarball}             
URL:            http://www.gnu.org/software/gnuzilla/
License:        MPLv1.1 or GPLv2+ or LGPLv2+         
Group:          Applications/Internet                


# ---------------------------------------------------

BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
#BuildRequires:  desktop-file-utils                                           
#BuildRequires:  system-bookmarks
#BuildRequires:  xulrunner-devel-unstable >= %{xulrunner_version}

#Requires:       xulrunner >= %{xulrunner_version}
#Requires:       system-bookmarks
#Obsoletes:      mozilla <= 37:1.7.13
#Provides:       webclient

%description
GNUZilla Icecat is a fork of Mozilla Firefox, with freedom in mind.

%prep
%setup

%build
#%configure
#make %{?_smp_mflags}
make
#cd %{tarballdir}
#make -f client.mk build

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc

%changelog
* Sat Jan 16 2010 Bruno Miguel <address@hidden>
- primeira tentativa




reply via email to

[Prev in Thread] Current Thread [Next in Thread]