Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clean up SVN checkout

svn path=/trunk/cluster/; revision=66041
  • Loading branch information...
commit f582cccd21603d9184161602734f687882cf4053 1 parent 83fa29c
Stanislav Višňovský authored
Showing with 57 additions and 65 deletions.
  1. +23 −0 Makefile.cvs
  2. +0 −65 yast2-cluster.spec
  3. +34 −0 yast2-cluster.spec.in
View
23 Makefile.cvs
@@ -0,0 +1,23 @@
+#
+# Makefile.cvs
+#
+
+LIB = $(shell y2tool get-lib)
+
+PREFIX = /usr
+
+configure: all
+ ./configure --prefix=$(PREFIX) --libdir=$(PREFIX)/$(LIB)
+
+all:
+ y2tool y2autoconf
+ y2tool y2automake
+ autoreconf --force --install
+
+install: configure
+ make
+ make install
+
+reconf: all
+ ./config.status --recheck
+ ./config.status
View
65 yast2-cluster.spec
@@ -1,65 +0,0 @@
-#
-# spec file for package yast2-cluster (Version 2.15.0)
-#
-# norootforbuild
-
-Name: yast2-cluster
-Version: 2.15.0
-Release: 0
-License: GPL v2 only
-Group: System/YaST
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-cluster-2.15.0.tar.bz2
-
-prefix: /usr
-
-Requires: yast2
-BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
-
-BuildArchitectures: noarch
-
-Summary: Configuration of cluster
-
-%description
--
-
-%prep
-%setup -n yast2-cluster-2.15.0
-
-%build
-%{prefix}/bin/y2tool y2autoconf
-%{prefix}/bin/y2tool y2automake
-autoreconf --force --install
-
-export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
-export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
-
-%{?suse_update_config:%{suse_update_config -f}}
-./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
-make %{?jobs:-j%jobs}
-
-%install
-make install DESTDIR="$RPM_BUILD_ROOT"
-[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
-for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
- d=${f##*/}
- %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
-done
-
-
-%clean
-rm -rf "$RPM_BUILD_ROOT"
-
-%files
-%defattr(-,root,root)
-%dir /usr/share/YaST2/include/cluster
-/usr/share/YaST2/include/cluster/*
-/usr/share/YaST2/clients/cluster.ycp
-/usr/share/YaST2/clients/cluster_*.ycp
-/usr/share/YaST2/modules/Cluster.*
-/usr/share/YaST2/modules/Cluster2.*
-/usr/share/YaST2/modules/Cluster3.py
-/usr/share/YaST2/scrconf/openais.scr
-%{prefix}/share/applications/YaST2/cluster.desktop
-%{prefix}/lib/YaST2/servers_non_y2/ag_openais
-%doc %{prefix}/share/doc/packages/yast2-cluster
View
34 yast2-cluster.spec.in
@@ -0,0 +1,34 @@
+@HEADER-COMMENT@
+
+@HEADER@
+Requires: yast2
+BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
+
+BuildArchitectures: noarch
+
+Summary: Configuration of cluster
+
+%description
+-
+
+@PREP@
+
+@BUILD@
+
+@INSTALL@
+
+@CLEAN@
+
+%files
+%defattr(-,root,root)
+%dir @yncludedir@/cluster
+@yncludedir@/cluster/*
+@clientdir@/cluster.ycp
+@clientdir@/cluster_*.ycp
+@moduledir@/Cluster.*
+@moduledir@/Cluster2.*
+@moduledir@/Cluster3.py
+@desktopdir@/cluster.desktop
+@scrconfdir@/openais.scr
+@agentdir@/ag_openais
+%doc @docdir@
Please sign in to comment.
Something went wrong with that request. Please try again.