4 %define libname %mklibname %name 1
6 Summary: Binary I/O stream class library
10 Source0: %{name}-%{version}.tar.bz2
11 URL:http://libbinio.sourceforge.net
13 Group: System/Libraries
14 BuildRoot: %{_tmppath}/%{name}-buildroot
18 The binary I/O stream class library presents a platform-independent
19 way to access binary data streams in C++.
21 The library is hardware independent in the form that it transparently
22 converts between the different forms of machine-internal binary data
25 It further employs no special I/O protocol and can be used on
26 arbitrary binary data sources.
29 Summary: Shared library for lib%name
30 Group: System/Libraries
32 %description -n %libname
33 The binary I/O stream class library presents a platform-independent
34 way to access binary data streams in C++.
36 The library is hardware independent in the form that it transparently
37 converts between the different forms of machine-internal binary data
40 It further employs no special I/O protocol and can be used on
41 arbitrary binary data sources.
43 This package contains the shared library needed to run applications
46 %package -n %libname-devel
47 Summary: Development files for lib%name
48 Group: Development/C++
49 Provides: %name-devel = %version-%release
50 Provides: lib%name-devel = %version-%release
51 Requires: %libname = %version-%release
53 %description -n %libname-devel
54 The binary I/O stream class library presents a platform-independent
55 way to access binary data streams in C++.
57 The library is hardware independent in the form that it transparently
58 converts between the different forms of machine-internal binary data
61 It further employs no special I/O protocol and can be used on
62 arbitrary binary data sources.
64 This package contains C++ header files, the shared library symlink and
65 the developer documentation for %name.
67 %package -n %libname-static-devel
68 Summary: Static library for lib%name
69 Group: Development/C++
70 Requires: %libname-devel = %version-%release
72 %description -n %libname-static-devel
73 The binary I/O stream class library presents a platform-independent
74 way to access binary data streams in C++.
76 The library is hardware independent in the form that it transparently
77 converts between the different forms of machine-internal binary data
80 It further employs no special I/O protocol and can be used on
81 arbitrary binary data sources.
83 This package contains the static library of %name.
93 rm -rf $RPM_BUILD_ROOT
97 rm -rf $RPM_BUILD_ROOT
99 %post -n %libname -p /sbin/ldconfig
100 %postun -n %libname -p /sbin/ldconfig
102 %post -n %libname-devel
103 %_install_info libbinio.info
105 %postun -n %libname-devel
106 %_remove_install_info libbinio.info
109 %defattr(-,root,root)
110 %doc README AUTHORS ChangeLog NEWS
113 %files -n %libname-devel
114 %defattr(-,root,root)
120 %files -n %libname-static-devel
121 %defattr(-,root,root)
126 * Mon Mar 3 2003 Götz Waschk <waschk@linux-mandrake.com> 1.2-1mdk