]> git.pld-linux.org Git - packages/libbinio.git/blob - libbinio.spec
- new
[packages/libbinio.git] / libbinio.spec
1 Summary:        Binary I/O stream class library
2 Summary(pl):    Biblioteka klas C++ dla strumieniowych binarnych operacji I/O
3 Name:           libbinio
4 Version:        1.3
5 Release:        0.1
6 License:        GPL/LGPL
7 Group:          Libraries
8 Source0:        http://mesh.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  dea7bd4c2d9d9f5429082448af2aab22
10 Patch0: %{name}-infopage.patch
11 URL:            http://libbinio.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRequires:  libstdc++-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The binary I/O stream class library presents a platform-independent
20 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
23 representation.
24 It further employs no special I/O protocol and can be used on
25 arbitrary binary data sources.
26
27 #%%description -l pl
28
29 %package devel
30 Summary:        Header files for libbinio library
31 Summary(pl):    Pliki nag³ówkowe biblioteki libbinio
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34
35 %description devel
36 Header files for libbinio library.
37
38 %description devel -l pl
39 Pliki nag³ówkowe biblioteki libbinio.
40
41 %package static
42 Summary:        Static libbinio library
43 Summary(pl):    Statyczna biblioteka libbinio
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static libbinio library.
49
50 %description static -l pl
51 Statyczna biblioteka libbinio.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56
57 %build
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__automake}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %post devel
78 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
79
80 %postun devel
81 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
82
83 %files
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README
86 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/lib*.so
91 %{_libdir}/lib*.la
92 %{_includedir}/*
93 %{_infodir}/*
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/lib*.a
This page took 0.062301 seconds and 4 git commands to generate.