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