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