modified: katrin-web/katrin/models.py - change adminid type
[katrin-web.git] / katrin-web.spec
blobb4489ab1ce5381499a1e089318f5d266b80b7645
1 Name: katrin-web
2 Version: 1.1.0
3 Release: alt1
5 %define installdir /var/www/html/addon-modules/%name
7 Summary: Web interface for Katrin billing system
8 License: GPL
9 Group: Networking/WWW
10 Requires: python-module-flup python-module-django-dbbackend-mysql
12 URL: http://katrin.sf.net
13 Packager: Denis Klimov <zver@altlinux.ru>
14 BuildArch: noarch
16 Source: katrin-web.tar
17 Source1: katrin-web.conf
19 %description
20 Web interface for Katrin billing system.
22 %package apache
23 Summary: Apache conf files for katrin-web
24 Group: Networking/WWW
25 Requires: %name = %version-%release
26 Requires: apache
27 Requires: mod_fastcgi
28 Requires: python-module-django >= 0.97
30 %description apache
31 This package provides Apache config files for katrin-web.
33 %prep
34 %setup -n katrin-web
36 %build
38 %install
39 install -pD %SOURCE1 %buildroot/etc/httpd/conf/addon-modules.d/katrin-web.conf
40 install -pD -m 644 %name.sql %buildroot%_datadir/%name/%name.sql
42 mkdir -p %buildroot%installdir
43 cp -pR katrin-web/* %buildroot%installdir
45 %post apache
46 %post_service httpd
48 %postun apache
49 %post_service httpd
51 %files
52 %installdir/
53 %_datadir/%name/
54 %config(noreplace) %installdir/settings.py
56 %files apache
57 %config(noreplace) %_sysconfdir/httpd/conf/addon-modules.d/katrin-web.conf
60 %changelog
61 * Sun May 04 2008 Denis Klimov <zver@altlinux.ru> 1.1.0-alt1
62 - add statistics by filters feature
64 * Tue Apr 29 2008 Denis Klimov <zver@altlinux.ru> 1.0.0-alt2
65 - add store stat field in models
67 * Tue Mar 11 2008 Denis Klimov <zver@altlinux.ru> 1.0.0-alt1.RC0
68 - make separate django applications
69 - support 1.0.0-RC1 katrin database schema
71 * Tue Dec 25 2007 Denis Klimov <zver@altlinux.ru> 0.4-alt1
72 - modify models
73 - add menu in stat pages
74 - add define encoding
76 * Thu Dec 13 2007 Denis Klimov <zver@altlinux.ru> 0.3-alt1
77 - show traffic bytes as float
78 - add cost in stats of month and order by it
79 - add RequestContext in return functions for show userlink in top of admin panel
81 * Wed Dec 05 2007 Denis Klimov <zver@altlinux.ru> 0.2-alt1
82 - build for 0.2 version
84 * Thu Nov 29 2007 Denis Klimov <zver@altlinux.ru> 0.1-alt1
85 - init build for ALT Linux