-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmISDNuser.spec
142 lines (111 loc) · 3.91 KB
/
mISDNuser.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#
# spec file for package mISDNuser (Version 2.0.1)
#
# Copyright (c) 2009 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
Url: http://www.misdn.org
License: GPL v2 only ; LGPL v2.1 only
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
BuildRequires: gcc-c++ glibc-devel libqt4-devel
Group: Hardware/ISDN
Summary: Tools and library for mISDN
Version: 2.0.1
Release: 1
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 <[email protected]>
Andreas Eversberg <[email protected]>
Christian Richter <[email protected]>
Martin Bachem <[email protected]>
Matthias Urlichs <[email protected]>
and more ...
%package devel
License: GPL v2 only ; LGPL v2.1 only
Requires: %{name} = %{version}
Requires: glibc-devel
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 <[email protected]>
Andreas Eversberg <[email protected]>
Christian Richter <[email protected]>
Martin Bachem <[email protected]>
Matthias Urlichs <[email protected]>
and more ...
%package gui
License: GPL v2 only ; LGPL v2.1 only
Summary: Qt application to watch the status of mISDN cards
Group: System/X11/Utilities
%description gui
This subpackage contain a little Qt tool for watching the status of
ISDN cards.
%prep
%setup -q
%build
# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and the line below.
#export SUSE_ASNEEDED=0
aclocal
libtoolize --force --automake --copy
automake --add-missing --copy
autoconf
export CXXFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="$RPM_OPT_FLAGS"
%configure --enable-gui --enable-example
%install
DESTDIR=${RPM_BUILD_ROOT} make install
%post
ldconfig
%postun
ldconfig
%files
%defattr(-,root,root)
%doc NEWS ChangeLog README INSTALL
/usr/bin/l1oipctrl
/usr/bin/misdn_bridge
/usr/bin/misdn_info
/usr/bin/misdn_log
/usr/bin/misdnportinfo
/usr/bin/misdntestcon
/usr/bin/misdntestlayer1
/usr/bin/misdntestlayer3
/usr/sbin/*
%{_libdir}/libmisdn.so.0
%{_libdir}/libmisdn.so.0.2.1
%files devel
%defattr(-,root,root)
%dir /usr/include/mISDN
%attr (0644, root, root) /usr/include/mISDN/*.h
%attr (0644, root, root) %{_libdir}/libmisdn.a
%attr (0644, root, root) %{_libdir}/libmisdn.la
%attr (0644, root, root) %{_libdir}/libmisdn.so
%files gui
%defattr(-,root,root)
/usr/bin/qmisdnwatch
%changelog
* Fri Jun 19 2009 [email protected]
- disable as-needed for this package as it fails to build with it
* Mon Sep 1 2008 [email protected]
- first version