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