8ffd2b879c08e71f5aef7df78ce9682281685c21
[gc-dialer] / support / builddeb.py
1 #!/usr/bin/python2.5
2
3 from py2deb import *
4
5
6 __appname__ = "dialcentral"
7 __description__ = "Simple interface to Google's GrandCentral(tm) service"
8 __author__ = "Ed Page"
9 __email__ = "eopage@byu.net"
10 __version__ = "0.8.4"
11 __build__ = 0
12 __changelog__ = '''\
13 0.8.4 - ""
14
15 0.8.3 - "Extras Love"
16  * Version bump fighting the extras autobuilder, I hope this works
17
18 0.8.2 - "Feed is for horses, so what about feedback?"
19  * Merged addressbook
20  * many more smaller fixes
21
22 0.8.1 - "Two Beers"
23  * Thumb scrollbars ( Kudos Khertan )
24
25 0.8.0 - "Spit and polish"
26  * Addressbook support
27  * threaded networking for better interactivity
28  * Hold down back to clear number
29  * Standard about dialog
30  * many more smaller fixes
31 '''
32
33
34 __postinstall__ = '''#!/bin/sh
35
36 gtk-update-icon-cache /usr/share/icons/hicolor
37 '''
38
39
40 if __name__ == "__main__":
41         try:
42                 os.chdir(os.path.dirname(sys.argv[0]))
43         except:
44                 pass
45
46         p = Py2deb(__appname__)
47         p.description = __description__
48         p.author = __author__
49         p.mail = __email__
50         p.license = "lgpl"
51         p.depends = "python2.5, python2.5-gtk2"
52         # p.section = "user/utilities"
53         p.section = "user/communication"
54         p.arch = "all"
55         p.urgency = "low"
56         p.distribution = "chinook diablo"
57         p.repository = "extras-devel"
58         p.changelog = __changelog__
59         p.postinstall = __postinstall__
60         p.icon="26x26-dialcentral.png"
61         p["/usr/bin"] = [ "dialcentral.py" ]
62         p["/usr/lib/dialcentral"] = ["__init__.py", "browser_emu.py", "evo_backend.py", "gc_backend.py", "gc_dialer.glade", "gc_dialer.py", "builddeb.py"]
63         p["/usr/share/applications/hildon"] = ["dialcentral.desktop"]
64         p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-dialcentral.png|dialcentral.png"]
65         p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-dialcentral.png|dialcentral.png"]
66         p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-dialcentral.png|dialcentral.png"]
67
68         print p
69         print p.generate(
70                 __version__, __build__, changelog=__changelog__,
71                 tar=True, dsc=True, changes=True, build=False, src=True
72         )