2 Summary: LAN Managment System
3 Summary(pl): System Zarz±dzania Siec± Lokaln±
8 Group: Networking/Utilities
9 Source0: http://lms.rulez.pl/download/%{name}-%{version}%{_add}.tar.gz
15 #Requires: perl-Getopt-Long
16 # for now i'm not sure is it required ...
17 Requires: perl-Net-SMTP-Server
18 Requires: perl-Config-IniFiles
20 Requires: perl-DBD-mysql
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define _lmsdir /home/services/httpd/html/%{name}
30 This is a package of applications in PHP and Perl to managing LANs.
31 It's using MySQL (for now) but PostgreSQL will be supported in near
32 future. Main foundation is get the best service of users at
34 The main sign in LMS are:
35 - database of users (name, surname, address, telefon number,
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;
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,
59 - baza danych komputerów (adres IP, adres MAC);
60 - prowadzenie prostego rachunku operacji finansowych oraz stanu
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;
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}/
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}/%{name}/
85 install bin/* $RPM_BUILD_ROOT%{_bindir}/
88 rm -rf $RPM_BUILD_ROOT
91 %defattr(644,root,root,755)
94 %attr(770,root,http) %{_lmsdir}/templates_c
100 %{_localstatedir}/%{name}