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