]>
Commit | Line | Data |
---|---|---|
21790d8a | 1 | Summary: A.L.E.C lms daemon |
7de1426b | 2 | Summary(pl.UTF-8): Demon A.L.E.C lms |
21790d8a | 3 | Name: almsd |
bcd3afd7 | 4 | Version: 20040309 |
780f504b | 5 | Release: 2 |
21790d8a | 6 | License: GPL |
7 | Group: Networking/Utilities | |
a52a9bff | 8 | Source0: ftp://pbern.biz/almsd/snap/%{name}-%{version}.tar.bz2 |
bcd3afd7 | 9 | # Source0-md5: fdb66515e67ca258dba002ea0fb960b8 |
cc451094 | 10 | BuildRequires: libgadu-devel |
21790d8a | 11 | BuildRequires: mysql-devel |
21790d8a | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
c285d21e JB |
15 | Utility for creating of several services configuration files basing on |
16 | LMS database and restarting appropriate services. | |
21790d8a | 17 | |
7de1426b JR |
18 | %description -l pl.UTF-8 |
19 | Program służy do tworzenia plików konfiguracyjnych różnych usług na | |
20 | podstawie bazy danych LMS-a oraz restartowania odpowiednich usług. | |
21790d8a | 21 | |
aed0a23f | 22 | %package ethers |
c285d21e | 23 | Summary: A.L.E.C lms daemon - ethers module |
7de1426b | 24 | Summary(pl.UTF-8): Demon A.L.E.C lms daemon - moduł ethers |
c285d21e | 25 | Group: Networking/Utilities |
45761a1e | 26 | Requires: %{name} = %{version}-%{release} |
c285d21e | 27 | |
aed0a23f | 28 | %description ethers |
c285d21e JB |
29 | ethers module for A.L.E.C lms daemon. |
30 | ||
7de1426b JR |
31 | %description ethers -l pl.UTF-8 |
32 | Moduł ethers dla demona A.L.E.C lms. | |
aed0a23f | 33 | |
34 | %package hostfile | |
c285d21e | 35 | Summary: A.L.E.C lms daemon - hostfile module |
7de1426b | 36 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł hostfile |
c285d21e | 37 | Group: Networking/Utilities |
45761a1e | 38 | Requires: %{name} = %{version}-%{release} |
c285d21e | 39 | |
aed0a23f | 40 | %description hostfile |
c285d21e JB |
41 | hostfile module for A.L.E.C lms daemon. |
42 | ||
7de1426b JR |
43 | %description hostfile -l pl.UTF-8 |
44 | Moduł hostfile dla demona A.L.E.C lms. | |
aed0a23f | 45 | |
46 | %package dhcp | |
c285d21e | 47 | Summary: A.L.E.C lms daemon - dhcp module |
7de1426b | 48 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł dhcp |
c285d21e | 49 | Group: Networking/Utilities |
45761a1e | 50 | Requires: %{name} = %{version}-%{release} |
c285d21e | 51 | |
aed0a23f | 52 | %description dhcp |
c285d21e JB |
53 | dhcp module for A.L.E.C lms daemon. |
54 | ||
7de1426b JR |
55 | %description dhcp -l pl.UTF-8 |
56 | Moduł dhcp dla demona A.L.E.C lms. | |
aed0a23f | 57 | |
58 | %package oident | |
c285d21e | 59 | Summary: A.L.E.C lms daemon - oident module |
7de1426b | 60 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł oident |
c285d21e | 61 | Group: Networking/Utilities |
45761a1e | 62 | Requires: %{name} = %{version}-%{release} |
c285d21e | 63 | |
aed0a23f | 64 | %description oident |
c285d21e JB |
65 | oident module for A.L.E.C lms daemon. |
66 | ||
7de1426b JR |
67 | %description oident -l pl.UTF-8 |
68 | Moduł oident dla demona A.L.E.C lms. | |
aed0a23f | 69 | |
70 | %package dns | |
c285d21e | 71 | Summary: A.L.E.C lms daemon - dns module |
7de1426b | 72 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł dns |
c285d21e | 73 | Group: Networking/Utilities |
45761a1e | 74 | Requires: %{name} = %{version}-%{release} |
c285d21e | 75 | |
aed0a23f | 76 | %description dns |
c285d21e JB |
77 | dns module for A.L.E.C lms daemon. |
78 | ||
7de1426b JR |
79 | %description dns -l pl.UTF-8 |
80 | Moduł dns dla demona A.L.E.C lms. | |
aed0a23f | 81 | |
82 | %package cutoff | |
c285d21e | 83 | Summary: A.L.E.C lms daemon - cutoff module |
7de1426b | 84 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł cutoff |
c285d21e | 85 | Group: Networking/Utilities |
45761a1e | 86 | Requires: %{name} = %{version}-%{release} |
c285d21e | 87 | |
aed0a23f | 88 | %description cutoff |
c285d21e JB |
89 | cutoff module for A.L.E.C lms daemon. |
90 | ||
7de1426b JR |
91 | %description cutoff -l pl.UTF-8 |
92 | Moduł cutoff dla demona A.L.E.C lms. | |
aed0a23f | 93 | |
94 | %package payments | |
c285d21e | 95 | Summary: A.L.E.C lms daemon - payments module |
7de1426b | 96 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł payments |
c285d21e | 97 | Group: Networking/Utilities |
45761a1e | 98 | Requires: %{name} = %{version}-%{release} |
c285d21e | 99 | |
aed0a23f | 100 | %description payments |
c285d21e JB |
101 | payments module for A.L.E.C lms daemon. |
102 | ||
7de1426b JR |
103 | %description payments -l pl.UTF-8 |
104 | Moduł płatności (payments) dla demona A.L.E.C lms. | |
aed0a23f | 105 | |
106 | %package traffic | |
c285d21e | 107 | Summary: A.L.E.C lms daemon - traffic module |
7de1426b | 108 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł traffic |
c285d21e | 109 | Group: Networking/Utilities |
45761a1e | 110 | Requires: %{name} = %{version}-%{release} |
c285d21e | 111 | |
aed0a23f | 112 | %description traffic |
c285d21e JB |
113 | traffic module for A.L.E.C lms daemon. |
114 | ||
7de1426b JR |
115 | %description traffic -l pl.UTF-8 |
116 | Moduł traffic dla demona A.L.E.C lms. | |
aed0a23f | 117 | |
118 | %package notify | |
c285d21e | 119 | Summary: A.L.E.C lms daemon - notify module |
7de1426b | 120 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł notify |
c285d21e | 121 | Group: Networking/Utilities |
45761a1e | 122 | Requires: %{name} = %{version}-%{release} |
c285d21e | 123 | |
aed0a23f | 124 | %description notify |
c285d21e JB |
125 | notify module for A.L.E.C lms daemon. |
126 | ||
7de1426b JR |
127 | %description notify -l pl.UTF-8 |
128 | Moduł powiadamiania (notify) dla demona A.L.E.C lms. | |
aed0a23f | 129 | |
130 | %package tc | |
c285d21e | 131 | Summary: A.L.E.C lms daemon - tc module |
7de1426b | 132 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł tc |
c285d21e | 133 | Group: Networking/Utilities |
45761a1e | 134 | Requires: %{name} = %{version}-%{release} |
c285d21e | 135 | |
aed0a23f | 136 | %description tc |
c285d21e JB |
137 | tc module for A.L.E.C lms daemon. |
138 | ||
7de1426b JR |
139 | %description tc -l pl.UTF-8 |
140 | Moduł tc dla demona A.L.E.C lms. | |
aed0a23f | 141 | |
142 | %package ggnotify | |
c285d21e | 143 | Summary: A.L.E.C lms daemon - ggnotify module |
7de1426b | 144 | Summary(pl.UTF-8): Demon A.L.E.C lms - moduł ggnotify |
c285d21e | 145 | Group: Networking/Utilities |
45761a1e | 146 | Requires: %{name} = %{version}-%{release} |
c285d21e | 147 | |
aed0a23f | 148 | %description ggnotify |
c285d21e JB |
149 | ggnotify module for A.L.E.C lms daemon. |
150 | ||
7de1426b JR |
151 | %description ggnotify -l pl.UTF-8 |
152 | Moduł ggnotify dla demona A.L.E.C lms. | |
aed0a23f | 153 | |
21790d8a | 154 | %prep |
155 | %setup -q | |
156 | ||
157 | %build | |
158 | ./configure \ | |
c285d21e JB |
159 | --prefix=%{_bindir} \ |
160 | --libdir=%{_libdir} | |
21790d8a | 161 | |
4f9dbe31 JB |
162 | %{__make} \ |
163 | CC="%{__cc} %{rpmcflags}" | |
21790d8a | 164 | |
165 | %install | |
166 | rm -rf $RPM_BUILD_ROOT | |
45761a1e | 167 | install -d $RPM_BUILD_ROOT%{_libdir} |
c285d21e | 168 | |
21790d8a | 169 | %{__make} install \ |
c285d21e | 170 | INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} |
cc451094 | 171 | |
cc451094 | 172 | for i in ethers hostfile dhcp oident dns cutoff payments traffic notify tc ggnotify; do |
c285d21e | 173 | install modules/$i/*.so $RPM_BUILD_ROOT%{_libdir} |
cc451094 | 174 | done |
21790d8a | 175 | |
176 | %clean | |
177 | rm -rf $RPM_BUILD_ROOT | |
178 | ||
179 | %files | |
180 | %defattr(644,root,root,755) | |
19b838e4 | 181 | %doc README TODO lms.ini.sample |
21790d8a | 182 | %attr(755,root,root) %{_bindir}/* |
aed0a23f | 183 | |
184 | %files ethers | |
c285d21e JB |
185 | %defattr(644,root,root,755) |
186 | %attr(755,root,root) %{_libdir}/ethers.so | |
aed0a23f | 187 | |
188 | %files hostfile | |
c285d21e JB |
189 | %defattr(644,root,root,755) |
190 | %attr(755,root,root) %{_libdir}/hostfile.so | |
aed0a23f | 191 | |
192 | %files dhcp | |
c285d21e JB |
193 | %defattr(644,root,root,755) |
194 | %attr(755,root,root) %{_libdir}/dhcp.so | |
aed0a23f | 195 | |
196 | %files oident | |
c285d21e JB |
197 | %defattr(644,root,root,755) |
198 | %attr(755,root,root) %{_libdir}/oident.so | |
aed0a23f | 199 | |
200 | %files dns | |
c285d21e JB |
201 | %defattr(644,root,root,755) |
202 | %attr(755,root,root) %{_libdir}/dns.so | |
aed0a23f | 203 | |
204 | %files cutoff | |
c285d21e JB |
205 | %defattr(644,root,root,755) |
206 | %attr(755,root,root) %{_libdir}/cutoff.so | |
aed0a23f | 207 | |
208 | %files payments | |
c285d21e JB |
209 | %defattr(644,root,root,755) |
210 | %attr(755,root,root) %{_libdir}/payments.so | |
aed0a23f | 211 | |
212 | %files traffic | |
c285d21e JB |
213 | %defattr(644,root,root,755) |
214 | %attr(755,root,root) %{_libdir}/traffic.so | |
aed0a23f | 215 | |
216 | %files notify | |
c285d21e JB |
217 | %defattr(644,root,root,755) |
218 | %attr(755,root,root) %{_libdir}/notify.so | |
aed0a23f | 219 | |
220 | %files tc | |
c285d21e JB |
221 | %defattr(644,root,root,755) |
222 | %attr(755,root,root) %{_libdir}/tc.so | |
aed0a23f | 223 | |
224 | %files ggnotify | |
c285d21e JB |
225 | %defattr(644,root,root,755) |
226 | %attr(755,root,root) %{_libdir}/ggnotify.so |