Commits

Moises Henriquez committed dd76221

Added data files for packaging vpackager

Comments (0)

Files changed (6)

         packages=['vpackager'],
         package_dir={'vpackager': 'src/vpackager'},
         package_data={'vpackager': ['data/*']},
-        data_files=[('/etc', ['src/vpackager/vpackager.cfg'])],
+        data_files=[('/etc', ['src/vpackager/data/vpackager.cfg']),
+            ('/usr/share/applications', ['src/vpackager/data/vpackager.desktop']),
+            ('/usr/share/pixmaps',['src/vpackager/data/vpackager.png'])],
         requires =['psutil'],
         install_requires=['psutil'],
         scripts=['src/scripts/vpackager'],

slack-desc

-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.  Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in.  You must
-# make exactly 11 lines for the formatting to be correct.  It's also
-# customary to leave one space after the ':'.
-
-         |-----handy-ruler-----------------------------------------------------|
-vpackager: vpackager (Packaging Assistant)
-vpackager:
-vpackager: vpackager is an application to help in the process of compiling and
-vpackager: installing software from source code.  Relies on sbbuilder to keep
-vpackager: things standard and compliant with slackware standards.
-vpackager:
-vpackager:
-vpackager:
-vpackager: Homepage: https://bitbucket.org/m0e_lnx/vpackager
-vpackager: Author: Moises Henriquez [ M0E.lnx_at_gmail.com]
-vpackager: License: GNU GPL v3

src/vpackager/data/slack-desc

+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+         |-----handy-ruler-----------------------------------------------------|
+vpackager: vpackager (Packaging Assistant)
+vpackager:
+vpackager: vpackager is an application to help in the process of compiling and
+vpackager: installing software from source code.  Relies on sbbuilder to keep
+vpackager: things standard and compliant with slackware standards.
+vpackager:
+vpackager:
+vpackager:
+vpackager: Homepage: https://bitbucket.org/m0e_lnx/vpackager
+vpackager: Author: Moises Henriquez [ M0E.lnx_at_gmail.com]
+vpackager: License: GNU GPL v3

src/vpackager/data/vpackager.cfg

+#    This file is part of vpackager.
+#
+#    vpackager is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License v2 as published by
+#    the Free Software Foundation.
+#
+#    vpackager is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with vpackager.  If not, see <http://www.gnu.org/licenses/>.
+
+# Default vpackager configuration
+
+[vpackager]
+packager_name = vpackager
+sources_home = /tmp/vpackager
+database_home = /tmp

src/vpackager/data/vpackager.desktop

+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=vpackager
+GenericName=Packaging Assistant.
+Comment=Compile and install software from source code.
+Exec=vsuper vpackager
+Icon=/usr/share/pixmaps/vpackager.png
+Terminal=false
+Categories=GTK;Development;IDE;
+StartupNotify=true
+X-Desktop-File-Install-Version=0.16

src/vpackager/vpackager.cfg

-#    This file is part of vpackager.
-#
-#    vpackager is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License v2 as published by
-#    the Free Software Foundation.
-#
-#    vpackager is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with vpackager.  If not, see <http://www.gnu.org/licenses/>.
-
-# Default vpackager configuration
-
-[vpackager]
-packager_name = vpackager
-sources_home = /tmp/vpackager
-database_home = /tmp