]>
Commit | Line | Data |
---|---|---|
21790d8a | 1 | Summary: A.L.E.C lms daemon |
2 | Summary(pl): A.L.E.C lms daemon | |
3 | Name: almsd | |
4 | Version: 20040117 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Networking/Utilities | |
8 | Source0: ftp://pbern.biz/almsd/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 97132fc33580a4a6da61ece3dc2e8cf9 | |
cc451094 | 10 | BuildRequires: libgadu-devel |
21790d8a | 11 | BuildRequires: mysql-devel |
21790d8a | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
15 | brak | |
16 | ||
17 | %description -l pl | |
18 | Program sluzy do tworzenia plikow konfiguracyjnych roznych uslug | |
19 | na podstawie bazy danych LMS`a oraz restartowania odpowiednich serwisow. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | ./configure \ | |
cc451094 | 26 | --prefix=%{_bindir} \ |
21790d8a | 27 | --libdir=%{_libdir} |
28 | ||
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | %{__make} install \ | |
cc451094 | 34 | INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} |
35 | ||
36 | install -d $RPM_BUILD_ROOT%{_libdir} | |
37 | ||
38 | for i in ethers hostfile dhcp oident dns cutoff payments traffic notify tc ggnotify; do | |
39 | install modules/$i/*.so $RPM_BUILD_ROOT%{_libdir} | |
40 | done | |
21790d8a | 41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc README TODO | |
48 | %attr(755,root,root) %{_bindir}/* | |
49 | %attr(755,root,root) %{_libdir}/*.so |