From e9da41e5fe8400f76a8dc1625e51b85ff4398624 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C5=82awomir=20Paszkiewicz?= Date: Tue, 12 Apr 2005 16:04:28 +0000 Subject: [PATCH] - initial spec file (very, very poor) - initeresting project - NFY Changed files: bwm-tools.spec -> 1.1 --- bwm-tools.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 bwm-tools.spec diff --git a/bwm-tools.spec b/bwm-tools.spec new file mode 100644 index 0000000..6c7182d --- /dev/null +++ b/bwm-tools.spec @@ -0,0 +1,67 @@ +Summary: Bandwidth Management Tools +Name: bwm-tools +Version: 0.2.0 +Release: 0.1 +License: GPL +Group: Applications +Source0: http://dl.sourceforge.net/bwm-tools/bwm_tools-%{version}.tar.bz2 +# Source0-md5: 67d2303ec9d34fd319a94f96043ea2d3 +URL: http://bwm-tools.pr.linuxrulz.org/ +#BuildRequires: automake +#BuildRequires: - +#Requires: - +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Bandwidth Management Tools is a total bandwidth management solution +for Linux and can be used for firewalling, traffic graphing, and +shaping. It is not based on any currently-available bandwidth +management software and supports packet queues, bursting, complex +traffic flow hierarchies, flow groups, traffic logging, and a simple +real-time monitoring front-end. + + +%prep +%setup -q -n bwm_tools-%{version} + +#%patch0 -p1 + +%build +# if ac/am/* rebuilding is necessary, do it in this order and add +# appropriate BuildRequires +#%%{__gettextize} +#%%{__libtoolize} +#%%{__aclocal} +#%%{__autoconf} +#%%{__autoheader} +#%%{__automake} +#cp -f /usr/share/automake/config.sub . +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +# create directories if necessary +#install -d $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO + +# if _sysconfdir != /etc: +#%%dir %{_sysconfdir} +#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* + +%attr(755,root,root) %{_bindir}/* + +#%{_datadir}/%{name} + +# initscript and its config +#%attr(754,root,root) /etc/rc.d/init.d/%{name} +#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} -- 2.43.0