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

dlm.spec [new file with mode: 0644]

diff --git a/dlm.spec b/dlm.spec
new file mode 100644 (file)
index 0000000..9c4d497
--- /dev/null
+++ b/dlm.spec
@@ -0,0 +1,75 @@
+#
+# Conditional build:
+Summary:       general-purpose distributed lock manager
+Name:          dlm
+%define        snap    20040625
+Version:       0.0.0.%{snap}.1
+Release:       1
+License:       GPL
+Group:         Libraries
+Source0:       %{name}.tar.gz
+# Source0-md5: 2aad29664265c6d2b4ab43276d4a45fd
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://sources.redhat.com/cluster/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The DLM lock manager is a kernel-based VMS-like distributed lock
+manager. It is general purpose and not specific to only GFS or CLVM.
+Kernel and userspace locking API's are available.
+
+%package devel
+Summary:       Header files and development documentation for %{name}
+Group:         Development/Libraries
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Header files and development documentation for %{name}.
+
+%package static
+Summary:       Static %{name} library
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static %{name} library.
+
+%prep
+%setup -q -n %{name}
+%patch0 -p1
+
+%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
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/*.h
+%attr(755,root,root) %{_libdir}/*.so
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
This page took 0.073758 seconds and 4 git commands to generate.