]> git.pld-linux.org Git - packages/dclib.git/blob - dclib.spec
- updated to 0.2beta1
[packages/dclib.git] / dclib.spec
1 %define         _beta           beta1
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.2
8 Release:        %{_beta}.%{_release}
9 License:        GPL v2
10 Group:          X11/Libraries
11 Source0:        http://download.berlios.de/dcgui/%{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:  bzip2-devel
19 BuildRequires:  qt-devel >= 3.0.5
20 Provides:       %{name} = %{version}%{_beta}
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr/X11R6
24
25 %description
26 Libraries for Direct Connect client.
27
28 %description -l pl
29 Biblioteki dla klienta Direct Connecta.
30
31 %package devel
32 Summary:        Developement files for dclib
33 Summary(pl):    Pliki nag³ówkowe dla dclib
34 Group:          X11/Development/Libraries
35 Requires:       %{name} = %{version}%{_beta}
36 Provides:       %{name}-devel = %{version}%{_beta}
37
38 %description devel
39 The header files are only needed for development of programs using the
40 dclib.
41
42 %description devel -l pl
43 Pliki nag³ówkowe potrzebne tylko przy rozwijaniu programów z u¿yciem
44 dclib.
45
46 %package static
47 Summary:        Static libraries dclib
48 Summary(pl):    Statyczne biblioteki dclib
49 Group:          X11/Development/Libraries
50 Requires:       %{name}-devel = %{version}%{_beta}
51 Provides:       %{name}-static = %{version}%{_beta}
52
53 %description static
54 Static dclib libraries.
55
56 %description static -l pl
57 Statyczne biblioteki dclib.
58
59 %prep
60 %setup -q -n %{name}-%{version}%{_beta}
61 %patch0 -p1
62
63 %build
64 cp -f /usr/share/automake/config.* .
65 %configure
66
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} DESTDIR=$RPM_BUILD_ROOT install
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 README NEWS TODO AUTHORS
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.066423 seconds and 3 git commands to generate.