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