]> git.pld-linux.org Git - packages/libdsk.git/blob - libdsk.spec
- -devel deps
[packages/libdsk.git] / libdsk.spec
1 Summary:        libdsk library
2 Summary(pl):    Biblioteka libdsk
3 Name:           libdsk
4 Version:        1.1.1
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.seasip.demon.co.uk/Unix/LibDsk/%{name}-%{version}.tar.gz
9 # Source0-md5:  8017d011b2f49b1276af848e0919f0c1
10 URL:            http://www.seasip.demon.co.uk/Unix/LibDsk/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  bzip2-devel
14 BuildRequires:  libtool
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 LibDsk is a library intended to give transparent access to floppy
20 drives and to the "disc image files" used by emulators to represent
21 floppy drives.
22
23 %description -l pl
24 LibDsk jest bibliotek±, która w sposób przezroczysty daje dostêp do
25 "obrazów dysków" u¿ywanych przez emulatory do reprezentowania dysków
26 elastycznych.
27
28 %package devel
29 Summary:        libdsk library - development files
30 Summary(pl):    Pliki programistyczne biblioteki libdsk
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       bzip2-devel
34 Requires:       zlib-devel
35
36 %description devel
37 The libdsk-devel package contains the header files and documentation
38 needed to develop applications with libdsk.
39
40 %description devel -l pl
41 Pakiet libdsk-devel zawiera pliki nag³ówkowe i dokumentacjê potrzebne
42 do kompilowania aplikacji korzystaj±cych z libdsk.
43
44 %package static
45 Summary:        libdsk static library
46 Summary(pl):    Statyczna biblioteka libdsk
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 This package contains the static libdsk library.
52
53 %description static -l pl
54 Statyczna wersja biblioteki libdsk.
55
56 %prep
57 %setup -q
58
59 %build
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc ChangeLog TODO
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) %{_libdir}/libdsk.so.*.*.*
85 %{_mandir}/man1/*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %doc doc/{libdsk.txt,cfi.html,TODO}
90 %attr(755,root,root) %{_libdir}/lib*.so
91 %{_libdir}/libdsk.la
92 %{_includedir}/*.h
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/lib*.a
This page took 0.03312 seconds and 4 git commands to generate.