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