]> git.pld-linux.org Git - packages/lms.git/blob - lms.spec
- cosmetics, release 0.3
[packages/lms.git] / lms.spec
1 Summary:        LAN Managment System
2 Summary(pl):    System Zarz±dzania Siec± Lokaln±
3 Name:           lms
4 Version:        1.0pre5
5 Release:        0.3
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        http://lms.rulez.pl/download/%{name}-%{version}.tar.gz
9 Vendor:         Rulez.PL
10 Requires:       php
11 Requires:       php-posix
12 Requires:       webserver
13 Requires:       mysql
14 #Requires:      perl-Getopt-Long
15 # for now i'm not sure if it's required ...
16 Requires:       perl-Net-SMTP-Server
17 Requires:       perl-Config-IniFiles
18 Requires:       perl-DBI
19 Requires:       perl-DBD-mysql
20 Requires:       perl-DBD-Pg
21 Requires:       Smarty
22 Requires:       ADOdb
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _lmsdir         /home/services/httpd/html/%{name}
27 %define         _localstatedir  /var/lib/lms
28
29 %description
30 This is a package of applications in PHP and Perl for managing LANs.
31 It's using MySQL (for now) but PostgreSQL will be supported in near
32 future. The main goal is to get the best service of users at
33 provider's level.
34 The main features in LMS are:
35 - database of users (name, surname, address, telefon number, 
36   commentary);
37 - database of computers (IP, MAC);
38 - easy-ridden financial system and funds of network;
39 - different subscriptions;
40 - sending warnings to users;
41 - autogenerating dhcpd.conf;
42 - autogenerating firewall rules (ipchains/iptables);
43 - autogenerating idents for ident daemon;
44 - many levels of access for LMS administrators;
45 - integration with LinuxStat package;
46 - autogenerating ARP rules (ether auth);
47 - autogenerating DNS files.
48
49 %description -l pl
50 "LMS" jest skrótem od "LAN Management System". Jest to zestaw
51 aplikacji w PHP i Perlu, u³atwiaj±cych zarz±dzanie sieciami
52 osiedlowymi (popularnie zwanymi Amatorskimi Sieciami Komputerowymi),
53 opartych o bazê danych MySQL (docelowo, do wyboru, MySQL lub
54 PostgreSQL). G³ówne za³o¿enia to uzyskanie jako¶ci us³ug oraz obs³ugi
55 u¿ytkowników na poziomie providera z prawdziwego zdarzenia.
56 Najbardziej podstawowe cechy LMS to:
57 - baza danych u¿ytkowników (imiê, nazwisko, adres, numer telefonu,
58   uwagi);
59 - baza danych komputerów (adres IP, adres MAC);
60 - prowadzenie prostego rachunku operacji finansowych oraz stanu
61   funduszów sieci;
62 - ró¿ne taryfy abonamentowe;
63 - wysy³anie poczt± elektroniczn± upomnieñ do u¿ytkowników;
64 - automatyczne naliczanie op³at miesiêcznych;
65 - generowanie dhcpd.conf;
66 - generowanie regu³ firewalla (ipchains/iptables);
67 - generowanie identów dla demona oidentd;
68 - ró¿ne poziomy dostêpu do funkcji LMS dla administratorów;
69 - integracja z pakietem LinuxStat;
70 - generowanie wpisów ARP (blokada adresów IP po ARP);
71 - generowanie wpisów do DNS.
72
73 %prep
74 %setup -q -n lms
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT%{_lmsdir}/{img,lib,modules,templates,templates_c}
79 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
80 install -d $RPM_BUILD_ROOT%{_bindir}
81
82 install *.php $RPM_BUILD_ROOT%{_lmsdir}
83 install -d {img,lib,modules,templates,templates_c} $RPM_BUILD_ROOT%{_lmsdir}
84 install -d backup $RPM_BUILD_ROOT%{_localstatedir}
85 install bin/* $RPM_BUILD_ROOT%{_bindir}
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %doc doc
93 %attr(755,root,root) %{_bindir}/lms-*
94 %dir %{_lmsdir}
95 %attr(770,root,http) %{_lmsdir}/templates_c
96 %{_lmsdir}/*.php
97 %{_lmsdir}/img
98 %{_lmsdir}/lib
99 %{_lmsdir}/modules
100 %{_lmsdir}/templates
101 %{_localstatedir}
This page took 0.067248 seconds and 4 git commands to generate.