updated : debian package scripts
authorgreg
Mon, 02 Mar 2009 09:29:22 +0100
changeset 314 c9291298c5b8
parent 313 9266d1e6e3d4
child 315 20e169c8efe9
updated : debian package scripts
debian/changelog
debian/control
debian/plcopeneditor.desktop
debian/plcopeneditor.png
debian/rules
--- a/debian/changelog	Wed Feb 25 16:39:39 2009 +0100
+++ b/debian/changelog	Mon Mar 02 09:29:22 2009 +0100
@@ -1,4 +1,4 @@
-plcopeneditor (1.0-1) unstable; urgency=low
+plcopeneditor (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:39 2009 +0100
+++ b/debian/control	Mon Mar 02 09:29:22 2009 +0100
@@ -7,7 +7,7 @@
 
 Package: plcopeneditor
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libwxgtk2.8-0, libwxbase2.8-0
+Depends: libwxgtk2.8-0, libwxbase2.8-0, xmlclass, docutils
 Description: The PLCopen Editor saves and loads XML projects accordingly to PLCopen TC6-XML Schemes.
  Edits all 5 of the IEC-61131-3 languages :
      - FBD -> Function Block Diagram
--- a/debian/plcopeneditor.desktop	Wed Feb 25 16:39:39 2009 +0100
+++ b/debian/plcopeneditor.desktop	Mon Mar 02 09:29:22 2009 +0100
@@ -4,7 +4,7 @@
 Comment=Editor for all 5 of the IEC-61131-3 languages
 Comment[fr]=Editeur pour les 5 langages de l'IEC-61131-3
 Exec=/usr/bin/plcopeneditor
-Icon=/usr/share/plcopeneditor/plcopeneditor.png
+Icon=/usr/share/plcopeneditor/Images/poe.png
 Terminal=false
 MultipleArgs=false
 Type=Application
Binary file debian/plcopeneditor.png has changed
--- a/debian/rules	Wed Feb 25 16:39:39 2009 +0100
+++ b/debian/rules	Mon Mar 02 09:29:22 2009 +0100
@@ -51,15 +51,19 @@
 	
 	### Installing the data files
 	# should be copied to /usr/local/objdictedit
-	cp -r examples Images graphics plcopen snapshots minixsv \
-		$(CURDIR)/debian/plcopeneditor/usr/share/plcopeneditor
+	cp -r examples $(CURDIR)/debian/plcopeneditor/usr/share/plcopeneditor
+	cp -r Images $(CURDIR)/debian/plcopeneditor/usr/share/plcopeneditor
+	cp -r graphics $(CURDIR)/debian/plcopeneditor/usr/share/plcopeneditor
+	cp -r plcopen $(CURDIR)/debian/plcopeneditor/usr/share/plcopeneditor
+	cp -r examples $(CURDIR)/debian/plcopeneditor/usr/share/plcopeneditor
 	cp *.py $(CURDIR)/debian/plcopeneditor/usr/share/plcopeneditor
+	rm -rf `find .|grep CVS`
+	rm -rf `find .|grep .cvsignore`
 	chmod -R a+r $(CURDIR)/debian/plcopeneditor 
 
 	### Installing menufile
 	# Now copy the file with the menu entry into /usr/share/applications.
 	cp debian/plcopeneditor.desktop $(CURDIR)/debian/plcopeneditor/usr/share/applications/
-	cp debian/plcopeneditor.png $(CURDIR)/debian/plcopeneditor/usr/share/plcopeneditor/plcopeneditor.png
 	
 # Build architecture-independent files here.
 binary-indep: build install