- second part of small fixes inspired by kloczek (this time better checked,
[packages/dclib.git] / dclib.spec
1 Summary:        DirectConnect support library for dcgui-qt
2 Summary(pl):    Biblioteka obs³uguj±ca DirectConnect dla dcgui-qt
3 Name:           dclib
4 Version:        0.2.16
5 Release:        1
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://download.berlios.de/dcgui/%{name}-%{version}.tar.bz2
9 # Source0-md5:  416bdbb7172aa111d31727dfd6c12c95
10 URL:            http://dc.ketelhot.de/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  bzip2-devel
14 BuildRequires:  libtool
15 BuildRequires:  libxml2-devel > 2.0.0
16 BuildRequires:  pth-devel
17 Requires:       libxml2 > 2.0.0
18 Requires:       pth
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 DirectConnect support library for dcgui-qt.
23
24 %description -l pl
25 Biblioteka obs³uguj±ca DirectConnect dla dcgui-qt.
26
27 %package devel
28 Summary:        Header files for dclib
29 Summary(pl):    Pliki nag³ówkowe dla dclib
30 Group:          X11/Development/Libraries
31 Requires:       %{name} = %{version}
32
33 %description devel
34 Header files for dclib.
35
36 %description devel -l pl
37 Pliki nag³ówkowe dla dclib.
38
39 %package static
40 Summary:        Static dclib library
41 Summary(pl):    Statyczna biblioteka dclib
42 Group:          X11/Development/Libraries
43 Requires:       %{name}-devel = %{version}
44
45 %description static
46 Static dclib library.
47
48 %description static -l pl
49 Statyczna biblioteka dclib.
50
51 %prep
52 %setup -q
53
54 %build
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS NEWS README ChangeLog
73 %attr(755,root,root) %{_libdir}/libdc.so.*.*
74 %{_datadir}/dcgui
75
76 %files devel
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/*.so
79 %{_libdir}/*.la
80 %{_includedir}/dclib
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/*.a
This page took 0.045626 seconds and 3 git commands to generate.