summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-03 18:50:21 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-03 18:50:21 +0000
commit633ef3de7885d5b5023730a3ba60c267b0e18b29 (patch)
tree38f60d024c740a5fa436ac2dd2dea72671ced670
parent3b3ae7ac53ce7692de2c1297fa2d08358557ae7a (diff)
downloaddrakwizard-633ef3de7885d5b5023730a3ba60c267b0e18b29.tar
drakwizard-633ef3de7885d5b5023730a3ba60c267b0e18b29.tar.gz
drakwizard-633ef3de7885d5b5023730a3ba60c267b0e18b29.tar.bz2
drakwizard-633ef3de7885d5b5023730a3ba60c267b0e18b29.tar.xz
drakwizard-633ef3de7885d5b5023730a3ba60c267b0e18b29.zip
like for other mandriva tools, remove packaging rules since that's now
managed in repsys (btw, SVNURL was broken when LANGUAGE!=C)
-rw-r--r--Makefile29
1 files changed, 1 insertions, 28 deletions
diff --git a/Makefile b/Makefile
index a1da2953..bfc78cec 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,7 @@
RPM=$(HOME)/rpm
NAME = drakwizard
-VERSION := $(shell rpm --specfile $(NAME).spec -q | sed -n 's/^$(NAME)-\([^-]*\)-[^-]*$$/\1/p')
-RELEASE := $(shell rpm --specfile $(NAME).spec -q | sed -n 's/^$(NAME)-[^-]*-\([^-]*\)$$/\1/p')
-RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
+VERSION := 3.2
TAR = $(NAME)-$(VERSION).tar.bz2
-SVNURL = $(shell dirname $(shell svn info | sed -n 's/^URL: \(.*\)/\1/p'))
# TODO: get WIZ_HOME take care of usr prefix
WIZ_HOME=/usr/share/wizards/
@@ -83,30 +80,6 @@ changelog:
svn commit -m "Generated by svn2cl the `date '+%c'`" ChangeLog ; \
)
-svntag:
- svn commit
- svn cp -m "Create tag $(RELTAG)" $(SVNURL)/trunk $(SVNURL)/tags/$(RELTAG)
-
-localsrpm: dis ../$(TAR) $(RPM)
- cp -f ../$(TAR) $(RPM)/SOURCES
- cp -vf drakwizard.png $(RPM)/SOURCES
- -rpm -bs $(NAME).spec
- rm -f ../$(TAR)
-
-localrpm: localsrpm
- -rpm -ba --clean $(NAME).spec
-
-rpm: changelog svntag dis ../$(TAR) $(RPM)
- cp -f ../$(TAR) $(RPM)/SOURCES
- -rpm -ba --clean $(NAME).spec
- rm -f ../$(TAR)
-
-oldlocalrpm: dis
- cp -f ../$(TAR) $(RPM)/SOURCES
- cp -f $(NAME).spec $(RPM)/SPECS/
- -rpm -ba $(NAME).spec
- rm -f ../$(TAR)
-
clean_test:
rm -rf test