File mISDNuser.spec of Package mISDNuser
#
# spec file for package mISDNuser (Version 1.1.20)
#
# Copyright (c) 2008 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: mISDNuser
#BuildRequires:
Url: www.misdn.org
License: GPL v2 only; LGPL v2.1 only
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Group: Hardware/ISDN
Summary: Tools and library for mISDN
Version: 1.1.20
Release: 2
Source0: %{name}-%{version}.tar.bz2
ExcludeArch: s390 s390x
%description
This package contains libmisdn and some tools to use the mISDN driver.
mISDN is the new modular ISDN driver for Linux.
Authors:
--------
Karsten Keil <kkeil@novell.com>
Andreas Eversberg <jolly@eversberg.eu>
Christian Richter <christian.richter@beronet.com>
Martin Bachem <m.bachem@gmx.de>
Matthias Urlichs <smurf@smurf.noris.de>
and more ...
%package devel
License: GPL v2 only; LGPL v2.1 only
Requires: %{name} = %{version}
Summary: C header files for mISDN
Group: Development/Libraries/C and C++
%description devel
This package contain the header files and static libraries for
mISDNuser development.
Authors:
--------
Karsten Keil <kkeil@novell.com>
Andreas Eversberg <jolly@eversberg.eu>
Christian Richter <christian.richter@beronet.com>
Martin Bachem <m.bachem@gmx.de>
Matthias Urlichs <smurf@smurf.noris.de>
and more ...
%prep
%setup -q -n mISDNuser
%build
make EXTRA_CFLAGS="$RPM_OPT_FLAGS"
%install
make INSTALL_PREFIX=$RPM_BUILD_ROOT INSTALL_LIBDIR=%{_libdir}/ install
%files
%defattr(-,root,root)
#%doc
/usr/bin/*
%{_libdir}/libmisdn.so
%files devel
%defattr(-,root,root)
%dir /usr/include/mISDNuser
%attr (0644, root, root) /usr/include/mISDNuser/*.h
%attr (0644, root, root) %{_libdir}/libmisdn*.a
%changelog
* Mon Sep 01 2008 kkeil@suse.de
- first version