]> git.pld-linux.org Git - packages/almsd.git/blame - almsd.spec
- add modules
[packages/almsd.git] / almsd.spec
CommitLineData
21790d8a 1Summary: A.L.E.C lms daemon
2Summary(pl): A.L.E.C lms daemon
3Name: almsd
4Version: 20040117
5Release: 0.1
6License: GPL
7Group: Networking/Utilities
8Source0: ftp://pbern.biz/almsd/%{name}-%{version}.tar.bz2
9# Source0-md5: 97132fc33580a4a6da61ece3dc2e8cf9
cc451094 10BuildRequires: libgadu-devel
21790d8a 11BuildRequires: mysql-devel
21790d8a 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15brak
16
17%description -l pl
18Program sluzy do tworzenia plikow konfiguracyjnych roznych uslug
19na 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
32rm -rf $RPM_BUILD_ROOT
33%{__make} install \
cc451094 34 INSTALLDIR=$RPM_BUILD_ROOT%{_bindir}
35
36install -d $RPM_BUILD_ROOT%{_libdir}
37
38for i in ethers hostfile dhcp oident dns cutoff payments traffic notify tc ggnotify; do
39 install modules/$i/*.so $RPM_BUILD_ROOT%{_libdir}
40done
21790d8a 41
42%clean
43rm -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
This page took 0.050463 seconds and 4 git commands to generate.