]> git.pld-linux.org Git - packages/ccs.git/blob - ccs.spec
- cosmetics
[packages/ccs.git] / ccs.spec
1 Summary:        Cluster configuration system to manage the cluster config file
2 Summary(pl):    System konfiguracji klastra do zarz±dzania jego plikiem konfiguracyjnym
3 Name:           ccs
4 %define snap    20040625
5 Version:        0.0.0.%{snap}.1
6 Release:        1
7 License:        GPL
8 Group:          Applications/System
9 Source0:        %{name}.tar.gz
10 # Source0-md5:  9c119853aac17437bf0b05cbb8a37117
11 URL:            http://sources.redhat.com/cluster/ccs/
12 BuildRequires:  libxml-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sbindir        /sbin
16
17 %description
18 Cluster configuration system to manage the cluster config file.
19
20 %description -l pl
21 System konfiguracji klastra do zarz±dzania jego plikiem konfiguracyjnym.
22
23 %package devel
24 Summary:        Header files and static library for ccs
25 Summary(pl):    Pliki nag³ówkowe i biblioteka statyczna ccs
26 Group:          Development/Libraries
27
28 %description devel
29 Header files and static library for ccs.
30
31 %description devel -l pl
32 Pliki nag³ówkowe i biblioteka statyczna ccs.
33
34 %prep
35 %setup -q -n %{name}
36
37 %build
38 ./configure \
39         --incdir=%{_includedir} \
40         --kernel_src=%{_kernelsrcdir} \
41         --libdir=%{_libdir} \
42         --mandir=%{_mandir} \
43         --prefix=%{_prefix} \
44         --sbindir=%{_sbindir}
45 %{__make} \
46         CC="%{__cc}"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 install -d $RPM_BUILD_ROOT/etc/cluster
55 touch $RPM_BUILD_ROOT/etc/cluster/cluster.xml
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %attr(755,root,root) %{_sbindir}/*
63 %dir /etc/cluster
64 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/cluster/cluster.xml
65
66 %files devel
67 %defattr(644,root,root,755)
68 %{_includedir}/*.h
69 %{_libdir}/*.a
This page took 0.036618 seconds and 4 git commands to generate.