]> git.pld-linux.org Git - packages/ccs.git/blob - ccs.spec
- updated to 0.24
[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 Version:        0.24
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://people.redhat.com/cfeist/cluster/tgz/%{name}-%{version}.tar.gz
9 # Source0-md5:  1df515f83510b4f5d9c0c5f70e8503cf
10 URL:            http://sources.redhat.com/cluster/ccs/
11 BuildRequires:  libxml-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _sbindir        /sbin
15
16 %description
17 Cluster configuration system to manage the cluster config file.
18
19 %description -l pl
20 System konfiguracji klastra do zarz±dzania jego plikiem
21 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
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%{_sysconfdir}/cluster
55 touch $RPM_BUILD_ROOT%{_sysconfdir}/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 %{_sysconfdir}/cluster
64 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cluster/cluster.xml
65
66 %files devel
67 %defattr(644,root,root,755)
68 %{_includedir}/*.h
69 %{_libdir}/*.a
This page took 0.058921 seconds and 4 git commands to generate.