updated : debian package scripts
authorgreg
Mon, 02 Mar 2009 09:23:34 +0100
changeset 318 b24790c748ae
parent 317 5378fe2fb4bc
child 319 bdd82ac65f5d
updated : debian package scripts
debian/beremiz.desktop
debian/changelog
debian/control
debian/rules
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/beremiz.desktop	Mon Mar 02 09:23:34 2009 +0100
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Beremiz
+Comment=Open Source framework for automation
+Comment[fr]=Environnement de développement Open Source pour l'automatisme
+Exec=/usr/bin/beremiz
+Icon=/usr/share/beremiz/images/brz.png
+Terminal=false
+MultipleArgs=false
+Type=Application
+Categories=Application;Development;
+StartupNotify=true
+
--- a/debian/changelog	Wed Feb 25 16:39:11 2009 +0100
+++ b/debian/changelog	Mon Mar 02 09:23:34 2009 +0100
@@ -1,4 +1,4 @@
-beremiz (1.0-1) unstable; urgency=low
+beremiz (2009.0-%DATEVERSION%) unstable; urgency=low
 
   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
 
--- a/debian/control	Wed Feb 25 16:39:11 2009 +0100
+++ b/debian/control	Mon Mar 02 09:23:34 2009 +0100
@@ -7,7 +7,7 @@
 
 Package: beremiz
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, matiec, plcopeneditor
+Depends: build-essential, python-wxgtk2.8, python-ctypes, xpdf, canfestival-devel, canfestival-objdictedit, matiec, docutils, pyro, xmlclass, plcopeneditor
 Description: Beremiz is an Open Source framework for automation
  With Beremiz, you can :
     - Automate everything.
--- a/debian/rules	Wed Feb 25 16:39:11 2009 +0100
+++ b/debian/rules	Mon Mar 02 09:23:34 2009 +0100
@@ -56,14 +56,22 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/beremiz.
-	#$(MAKE) DESTDIR=$(CURDIR)/debian/beremiz install
 	mkdir -p $(CURDIR)/debian/beremiz/usr/share/beremiz
+	mkdir -p $(CURDIR)/debian/beremiz/usr/share/applications
+	
 	cp -a images $(CURDIR)/debian/beremiz/usr/share/beremiz
 	cp -a plugins $(CURDIR)/debian/beremiz/usr/share/beremiz
 	cp -a runtime $(CURDIR)/debian/beremiz/usr/share/beremiz
-	cp -a test $(CURDIR)/debian/beremiz/usr/share/beremiz
+	cp -a tests $(CURDIR)/debian/beremiz/usr/share/beremiz
+	cp -a connectors $(CURDIR)/debian/beremiz/usr/share/beremiz
+	cp -a targets $(CURDIR)/debian/beremiz/usr/share/beremiz
+	cp *.xml $(CURDIR)/debian/beremiz/usr/share/beremiz
 	cp *.py $(CURDIR)/debian/beremiz/usr/share/beremiz
 
+	cp debian/beremiz.desktop $(CURDIR)/debian/beremiz/usr/share/applications/beremiz.desktop
+
+	rm -rf `find .|grep CVS`
+	rm -rf `find .|grep .cvsignore`
 	chmod -R a+r $(CURDIR)/debian/beremiz
 
 # Build architecture-independent files here.
@@ -96,7 +104,7 @@
 #	dh_perl
 #	dh_makeshlibs
 	dh_installdeb
-	dh_shlibdeps
+#	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb