2007-01-16 00:23:57 +01:00
|
|
|
#
|
2011-12-22 13:42:15 +01:00
|
|
|
# spec file for package linux-atm
|
2007-01-16 00:23:57 +01:00
|
|
|
#
|
2014-01-24 09:10:14 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:23:57 +01:00
|
|
|
#
|
2008-10-23 04:39:08 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:23:57 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-02-01 13:05:02 +01:00
|
|
|
|
2007-01-16 00:23:57 +01:00
|
|
|
Name: linux-atm
|
2014-01-24 09:10:14 +01:00
|
|
|
Version: 2.5.2
|
|
|
|
Release: 0
|
|
|
|
%global sover 1
|
2007-01-16 00:23:57 +01:00
|
|
|
Summary: Tools for ATM
|
2013-02-01 13:05:02 +01:00
|
|
|
License: BSD-3-Clause and GPL-2.0+ and LGPL-2.1+
|
2011-12-22 13:42:15 +01:00
|
|
|
Group: Productivity/Networking/Other
|
2014-01-24 09:10:14 +01:00
|
|
|
|
|
|
|
Url: http://linux-atm.sourceforge.net/
|
2013-04-16 11:13:21 +02:00
|
|
|
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
2014-01-24 09:10:14 +01:00
|
|
|
# PATCH-FIX-UPSTREAM linux-atm-2.5.2_fdleak.patch
|
|
|
|
Patch0: linux-atm-2.5.2_fdleak.patch
|
|
|
|
# PATCH-FIX-UPSTREAM linux-atm-2.5.2_implicit-fortify-decl.patch -- fix implicit declarations
|
|
|
|
Patch1: linux-atm-2.5.2_implicit-fortify-decl.patch
|
|
|
|
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: glibc-devel
|
2007-01-16 00:23:57 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tools to support ATM (Asynchronous Transfer Mode) networking.
|
|
|
|
|
2014-01-24 09:10:14 +01:00
|
|
|
|
|
|
|
%package -n libatm%{sover}
|
2010-11-02 11:37:53 +01:00
|
|
|
|
2007-01-16 00:23:57 +01:00
|
|
|
Summary: Libraries for ATM
|
2011-12-22 13:42:15 +01:00
|
|
|
Group: System/Libraries
|
2007-01-16 00:23:57 +01:00
|
|
|
|
2014-01-24 09:10:14 +01:00
|
|
|
%description -n libatm%{sover}
|
2007-01-16 00:23:57 +01:00
|
|
|
Libraries for ATM (Asynchronous Transfer Mode) networking.
|
|
|
|
|
2014-01-24 09:10:14 +01:00
|
|
|
|
2007-01-16 00:23:57 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Development for ATM
|
2011-12-22 13:42:15 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-01-24 09:10:14 +01:00
|
|
|
Requires: libatm%{sover} = %{version}
|
2007-01-16 00:23:57 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Libraries and header files for ATM (Asynchronous Transfer Mode)
|
|
|
|
networking.
|
|
|
|
|
2014-01-24 09:10:14 +01:00
|
|
|
|
2007-01-16 00:23:57 +01:00
|
|
|
%prep
|
2014-01-24 09:10:14 +01:00
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
2007-03-23 22:25:49 +01:00
|
|
|
%patch1 -p1
|
2007-01-16 00:23:57 +01:00
|
|
|
|
|
|
|
%build
|
2009-10-12 14:49:15 +02:00
|
|
|
%configure --disable-static
|
2010-10-31 17:41:50 +01:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-01-16 00:23:57 +01:00
|
|
|
|
|
|
|
%install
|
2014-01-24 09:10:14 +01:00
|
|
|
%{__make} install DESTDIR=%{buildroot}
|
2009-10-12 14:49:15 +02:00
|
|
|
%{__rm} -rf %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:23:57 +01:00
|
|
|
|
2014-01-24 09:10:14 +01:00
|
|
|
%post -n libatm%{sover} -p /sbin/ldconfig
|
2007-01-16 00:23:57 +01:00
|
|
|
|
2014-01-24 09:10:14 +01:00
|
|
|
%postun -n libatm%{sover} -p /sbin/ldconfig
|
2007-01-16 00:23:57 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-01-24 09:10:14 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/atmsigd.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/hosts.atm
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_sbindir}/*
|
|
|
|
/lib/firmware/*
|
2007-01-16 00:23:57 +01:00
|
|
|
%doc README AUTHORS ChangeLog NEWS THANKS BUGS
|
|
|
|
%doc COPYING COPYING.GPL COPYING.LGPL
|
|
|
|
%doc %{_mandir}/man*/*.gz
|
|
|
|
|
2014-01-24 09:10:14 +01:00
|
|
|
%files -n libatm%{sover}
|
2007-01-16 00:23:57 +01:00
|
|
|
%defattr(-,root,root)
|
2014-01-24 09:10:14 +01:00
|
|
|
%{_libdir}/libatm.so.%{sover}*
|
2007-01-16 00:23:57 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2014-01-24 09:10:14 +01:00
|
|
|
%{_includedir}/atm*.h
|
|
|
|
%{_libdir}/libatm.so
|
2007-01-16 00:23:57 +01:00
|
|
|
|
2007-03-23 22:25:49 +01:00
|
|
|
%changelog
|