]> git.pld-linux.org Git - packages/ccs.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 25 Jun 2004 10:27:04 +0000 (10:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ccs.spec -> 1.1

ccs.spec [new file with mode: 0644]

diff --git a/ccs.spec b/ccs.spec
new file mode 100644 (file)
index 0000000..3f42399
--- /dev/null
+++ b/ccs.spec
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+Summary:       cluster configuration system to manage the cluster config file
+Name:          ccs
+%define        snap    20040625
+Version:       0.0.0.%{snap}.1
+Release:       1
+License:       GPL
+Group:         Applications/System
+Source0:       %{name}.tar.gz
+# Source0-md5: 9c119853aac17437bf0b05cbb8a37117
+URL:           http://sources.redhat.com/cluster/
+BuildRequires: libxml-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sbindir        /sbin
+
+%description
+cluster configuration system to manage the cluster config file.
+
+%package devel
+Summary:        Header files and development documentation for %{name}
+Group:          Development/Libraries
+
+%description devel
+Header files and development documentation for %{name}.
+
+%prep
+%setup -q -n %{name}
+
+%build
+./configure \
+       --incdir=%{_includedir} \
+       --kernel_src=%{_kernelsrcdir} \
+       --libdir=%{_libdir} \
+       --mandir=%{_mandir} \
+       --prefix=%{_prefix} \
+       --sbindir=%{_sbindir}
+%{__make} \
+       CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/*.h
+%{_libdir}/*.a
This page took 0.109569 seconds and 4 git commands to generate.