]> git.pld-linux.org Git - packages/dclib.git/blob - dclib.spec
- added provides for dcgui
[packages/dclib.git] / dclib.spec
1 %define         _beta           beta9
2 %define         _release        1
3
4 Summary:        dclib - libraries for Direct Connect client.
5 Summary(pl):    dclib - biblioteki dla klienta Direct Connecta.
6 Name:           dclib
7 Version:        0.1
8 Release:        %{_beta}.%{_release}
9 License:        GPL v2
10 Group:          X11/Libraries
11 Source0:        http://dc.ketelhot.de/files/dcgui/unstable/source/%{name}-%{version}%{_beta}.tar.bz2
12 URL:            http://dc.ketelhot.de/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  qt-devel
17 Provides:       %{name} = %{version}%{_beta}
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _prefix         /usr/X11R6
21
22 %description
23 Libraries for Direct Connect client.
24
25 %description -l pl
26 Biblioteki dla klienta Direct Connecta.
27
28 %package devel
29 Summary:        Developement files for dclib
30 Summary(pl):    Pliki nag³ówkowe dla dclib
31 Group:          X11/Development/Libraries
32 Requires:       %{name} = %{version}
33 Provides:       %{name}-devel = %{version}%{_beta}
34
35 %description devel
36 The header files are only needed for development of programs using the
37 dclib.
38
39 %description devel -l pl
40 Pliki nag³ówkowe potrzebne tylko przy rozwijaniu programów z u¿yciem
41 dclib.
42
43 %package static
44 Summary:        Static libraries dclib
45 Summary(pl):    Statyczne biblioteki dclib
46 Group:          X11/Development/Libraries
47 Requires:       %{name}-devel = %{version}
48 Provides:       %{name}-static = %{version}%{_beta}
49
50 %description static
51 Static dclib libraries.
52
53 %description static -l pl
54 Statyczne biblioteki dclib.
55
56 %prep
57 %setup -q -n %{name}-%{version}%{_beta}
58
59 %build
60 aclocal
61 %{__autoconf}
62 cp -f /usr/share/automake/config.* .
63 %configure
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} DESTDIR=$RPM_BUILD_ROOT install
71
72 gzip -9nf README NEWS TODO AUTHORS
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/*.so.*.*
83
84 %files devel
85 %defattr(644,root,root,755)
86 %doc *.gz
87 %attr(755,root,root) %{_libdir}/*.la
88 %attr(755,root,root) %{_libdir}/*.so
89 %attr(755,root,root) %{_includedir}/%{name}/*.h
90
91 %files static
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/*.a
This page took 0.050883 seconds and 3 git commands to generate.