]> git.pld-linux.org Git - packages/dclib.git/blob - dclib.spec
- initial revision - spec written from scratch
[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 %configure
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} DESTDIR=$RPM_BUILD_ROOT install
67
68 gzip -9nf README NEWS TODO AUTHORS
69
70 %post   -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/*.so.*.*
79
80 %files devel
81 %defattr(644,root,root,755)
82 %doc *.gz
83 %attr(755,root,root) %{_libdir}/*.la
84 %attr(755,root,root) %{_libdir}/*.so
85 %attr(755,root,root) %{_libdir}/*.so.0
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.114709 seconds and 4 git commands to generate.