Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zecke23:osmo-pcap
osmo-pcap
osmo-pcap.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File osmo-pcap.spec of Package osmo-pcap
# # spec file for package # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: osmo-pcap Version: 0.0.9 Release: 1 License: AGPLv3+ Summary: PCAP client and server Url: http://openbsc.osmocom.org Group: Osmocom Source: %{name}_%{version}.tar.xz BuildRequires: libosmocore-devel BuildRequires: libpcap-devel BuildRequires: automake BuildRequires: autoconf BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description osmo-pcap is a client and server and allows to record traces on one system and forward them to a central server. %package server Summary: osmo-pcap server Group: Osmocom %description server The server that will receive the pcap streams. %prep %setup -q -n osmo-pcap %build autoreconf --install --force %if 0%{?centos_version} %configure --with-pcap-config=/bin/false PCAP_CFLAGS="-I/usr/include" PCAP_LIBS="-lpcap" %else %configure %endif make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install install -d -m 0755 %{buildroot}%{_sysconfdir}/osmo-pcap install -m 644 contrib/osmo-pcap-server.cfg %{buildroot}%{_sysconfdir}/osmo-pcap install -m 644 contrib/osmo-pcap-client.cfg %{buildroot}%{_sysconfdir}/osmo-pcap %clean %{?buildroot:%__rm -rf "%{buildroot}"} %post %postun %files %defattr(-,root,root) %{_bindir}/osmo_pcap_client %dir %{_sysconfdir}/osmo-pcap/ %config %{_sysconfdir}/osmo-pcap/osmo-pcap-client.cfg %files server %defattr(-,root,root) %{_bindir}/osmo_pcap_server %{_datadir}/osmo-pcap/ %dir %{_sysconfdir}/osmo-pcap/ %config %{_sysconfdir}/osmo-pcap/osmo-pcap-server.cfg %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor