diff options
author | Gerald Combs <gerald@wireshark.org> | 2002-01-20 23:05:25 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2002-01-20 23:05:25 +0000 |
commit | b11f1955e4408e47dcc7b01605e3754852cca3ba (patch) | |
tree | ec6ae78c36932364514ded0a84f2673eb5ee5f44 /packaging/rpm/SPECS/ethereal.spec.in | |
parent | 287425df9c99c3d2fad493b23ee3a646eb7bff25 (diff) |
Revamp the RPM building process. For versions of rpm that support
"--define", we now build the RPM and SRPM packages in packages/rpm.
As a result, one need not be root to build RPM-based packages.
Move the specfile to packaging/rpm/SPECS.
Update the INSTALL document to include the various packaging makefile
targets.
svn path=/trunk/; revision=4581
Diffstat (limited to 'packaging/rpm/SPECS/ethereal.spec.in')
-rw-r--r-- | packaging/rpm/SPECS/ethereal.spec.in | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/packaging/rpm/SPECS/ethereal.spec.in b/packaging/rpm/SPECS/ethereal.spec.in new file mode 100644 index 0000000000..4524497eb6 --- /dev/null +++ b/packaging/rpm/SPECS/ethereal.spec.in @@ -0,0 +1,83 @@ +# Note that this is NOT a relocatable package +%define ver @VERSION@ +%define rel 1 +%define prefix /usr/X11R6 + +Summary: Network traffic analyzer +Name: ethereal +Version: %ver +Release: %rel +Copyright: GPL +Group: Networking/Utilities +Source: ethereal-%{PACKAGE_VERSION}.tar.gz +URL: http://www.ethereal.com/ +BuildRoot: /tmp/ethereal-%{PACKAGE_VERSION}-root +Packager: FastJack <fastjack@i-s-o.net> +Requires: gtk+ +Requires: libpcap + +%description +Ethereal is a network traffic analyzer for Unix-ish operating systems. + +%prep +%setup +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=/etc +make + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/{etc,usr/X11R6/bin,usr/X11R6/man/man1,usr/bin,usr/man/man1} + +# can't use make install here. It would put manuf directly into /etc +cp ethereal $RPM_BUILD_ROOT/usr/X11R6/bin +cp tethereal $RPM_BUILD_ROOT/usr/bin +cp editcap $RPM_BUILD_ROOT/usr/bin +cp ethereal.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1 +cp tethereal.1 $RPM_BUILD_ROOT/usr/man/man1 +cp editcap.1 $RPM_BUILD_ROOT/usr/man/man1 +cp manuf $RPM_BUILD_ROOT/etc +cp dictionary.dtd $RPM_BUILD_ROOT/etc +cp dictionary.xml $RPM_BUILD_ROOT/etc +cp mobileipv4.xml $RPM_BUILD_ROOT/etc +cp nasreq.xml $RPM_BUILD_ROOT/etc +cp sunping.xml $RPM_BUILD_ROOT/etc + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc AUTHORS COPYING ChangeLog INSTALL NEWS README +%doc README.hpux README.linux README.vmware +%doc README.aix README.irix README.tru64 README.win32 +%doc README.bsd +%config /etc/manuf +%config /etc/dictionary.dtd +%config /etc/dictionary.xml +%config /etc/mobileipv4.xml +%config /etc/nasreq.xml +%config /etc/sunping.xml +/usr/X11R6/bin/ethereal +/usr/X11R6/man/man1/ethereal.1.gz +/usr/bin/tethereal +/usr/bin/editcap +/usr/man/man1/tethereal.1.gz +/usr/man/man1/editcap.1.gz + +%changelog +* Tue Aug 24 1999 Gilbert Ramirez +- changed to ethereal.spec.in so that 'configure' can update + the version automatically + +* Tue Aug 03 1999 Gilbert Ramirez <gram@xiexie.org> +- updated to 0.7.0 and changed gtk+ requirement + +* Sun Jan 01 1999 Gerald Combs <gerald@zing.org> +- updated to 0.5.1 + +* Fri Nov 20 1998 FastJack <fastjack@i-s-o.net> +- updated to 0.5.0 + +* Sun Nov 15 1998 FastJack <fastjack@i-s-o.net> +- created .spec file + |