Skip to content

Instantly share code, notes, and snippets.

@funzoneq
Created April 4, 2013 09:18
Show Gist options
  • Save funzoneq/5308983 to your computer and use it in GitHub Desktop.
Save funzoneq/5308983 to your computer and use it in GitHub Desktop.
Spec file for bgpq3
Name: bgpq3
Version: 0.1.18
Release: 2%{?dist}
Group: System/Utilities
Summary: Automate BGP filter generation based on routing database information
URL: http://snar.spb.ru/prog/bgpq3/
License: GPL
Source0: http://snar.spb.ru/prog/bgpq3/bgpq3-0.1.18.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
You are running BGP in your network and want to automate filter generation for your routers? Well, with BGPQ3 it's easy.
%prep
%setup -q
%build
./configure --prefix=$RPM_BUILD_ROOT%{_prefix} --mandir=%{_mandir}
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
make install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/usr/bin/bgpq3
/usr/man/man8/bgpq3.8.gz
%doc COPYRIGHT CHANGES
%changelog
* Wed Feb 20 2013 Arnoud Vermeer <arnoud@tumblr.com> 0.1.18-2.tumblr
- Adding missing group info (arnoud@tumblr.com)
* Wed Feb 20 2013 Arnoud Vermeer <arnoud@tumblr.com> 0.1.18-1.tumblr
- new package built with tito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment