-
Notifications
You must be signed in to change notification settings - Fork 8
/
binio_mdk.spec
127 lines (96 loc) · 3.21 KB
/
binio_mdk.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
%define name binio
%define version 1.4
%define release 1mdk
%define libname %mklibname %name 1
Summary: Binary I/O stream class library
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
URL:http://adplug.github.io/libbinio
License: LGPL
Group: System/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
%description
The binary I/O stream class library presents a platform-independent
way to access binary data streams in C++.
The library is hardware independent in the form that it transparently
converts between the different forms of machine-internal binary data
representation.
It further employs no special I/O protocol and can be used on
arbitrary binary data sources.
%package -n %libname
Summary: Shared library for lib%name
Group: System/Libraries
%description -n %libname
The binary I/O stream class library presents a platform-independent
way to access binary data streams in C++.
The library is hardware independent in the form that it transparently
converts between the different forms of machine-internal binary data
representation.
It further employs no special I/O protocol and can be used on
arbitrary binary data sources.
This package contains the shared library needed to run applications
based on %name.
%package -n %libname-devel
Summary: Development files for lib%name
Group: Development/C++
Provides: %name-devel = %version-%release
Provides: lib%name-devel = %version-%release
Requires: %libname = %version-%release
%description -n %libname-devel
The binary I/O stream class library presents a platform-independent
way to access binary data streams in C++.
The library is hardware independent in the form that it transparently
converts between the different forms of machine-internal binary data
representation.
It further employs no special I/O protocol and can be used on
arbitrary binary data sources.
This package contains C++ header files, the shared library symlink and
the developer documentation for %name.
%package -n %libname-static-devel
Summary: Static library for lib%name
Group: Development/C++
Requires: %libname-devel = %version-%release
%description -n %libname-static-devel
The binary I/O stream class library presents a platform-independent
way to access binary data streams in C++.
The library is hardware independent in the form that it transparently
converts between the different forms of machine-internal binary data
representation.
It further employs no special I/O protocol and can be used on
arbitrary binary data sources.
This package contains the static library of %name.
%prep
%setup -q
%build
%configure2_5x
%make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std
%clean
rm -rf $RPM_BUILD_ROOT
%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig
%post -n %libname-devel
%_install_info libbinio.info
%postun -n %libname-devel
%_remove_install_info libbinio.info
%files -n %libname
%defattr(-,root,root)
%doc README AUTHORS ChangeLog NEWS
%_libdir/*.so.*
%files -n %libname-devel
%defattr(-,root,root)
%_includedir/*.h
%_libdir/*.so
%_libdir/*.la
%_infodir/*.info*
%files -n %libname-static-devel
%defattr(-,root,root)
%_libdir/*.a
%changelog
* Mon Mar 3 2003 Götz Waschk <[email protected]> 1.2-1mdk
- initial package