]> git.pld-linux.org Git - packages/vxi.git/blob - vxi.spec
- x32 rebuild
[packages/vxi.git] / vxi.spec
1 Summary:        VXI-11 RPC protocol libraries
2 Summary(pl.UTF-8):      Biblioteki protokołu RPC VXI-11
3 Name:           vxi
4 Version:        0.0.20121221
5 Release:        2
6 License:        Public Domain
7 Group:          Libraries
8 Source0:        http://www.librevisa.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  5958206a0c60990227c000474b319c34
10 Patch0:         %{name}-shared.patch
11 URL:            http://www.librevisa.org/
12 BuildRequires:  autoconf >= 2.69
13 BuildRequires:  automake >= 1:1.10
14 BuildRequires:  libtool >= 2:2
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 # both libraries require external *_svc symbols
18 %define         skip_post_check_so      libvxi.*
19
20 %description
21 The VXI-11 protocol is used for communication with test and
22 measurement equipment. It provides a "virtual" representation of the
23 command, event and abort channels specified in the LXI protocol.
24
25 %description -l pl.UTF-8
26 Protokół VXI-11 służy do komunikacji ze sprzętem testowym i
27 pomiarowym. Zapewnia "wirtualną" reprezentację kanałów poleceń,
28 zdarzeń i przerwania, opisanych w protokole LXI.
29
30 %package devel
31 Summary:        Header files for VXI libraries
32 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek VXI
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files for VXI libraries.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe bibliotek VXI.
41
42 %package static
43 Summary:        Static VXI libraries
44 Summary(pl.UTF-8):      Statyczne biblioteki VXI
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static VXI libraries.
50
51 %description static -l pl.UTF-8
52 Statyczne biblioteki VXI.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 %build
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__autoheader}
63 %{__automake}
64 %configure
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/libvxiclient.so.*.*.*
82 %attr(755,root,root) %ghost %{_libdir}/libvxiclient.so.0
83 %attr(755,root,root) %{_libdir}/libvxiserver.so.*.*.*
84 %attr(755,root,root) %ghost %{_libdir}/libvxiserver.so.0
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libvxiclient.so
89 %attr(755,root,root) %{_libdir}/libvxiserver.so
90 %{_libdir}/libvxiclient.la
91 %{_libdir}/libvxiserver.la
92 %{_includedir}/vxi.h
93 %{_includedir}/vxi_intr.h
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/libvxiclient.a
98 %{_libdir}/libvxiserver.a
This page took 0.071763 seconds and 4 git commands to generate.