]>
Commit | Line | Data |
---|---|---|
1 | Summary: DOCSIS RFI 1.1 Encoding Configuration File Settings into binary configuration files | |
2 | Summary(pl.UTF-8): Kodowanie ustawień konfiguracyjnych w plikach binarnych wg DOCSIS RFI 1.1 | |
3 | Name: docsis | |
4 | Version: 0.9.5 | |
5 | Release: 6 | |
6 | License: GPL v2 | |
7 | Group: Applications | |
8 | Source0: http://dl.sourceforge.net/docsis/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 2b89cf254a5eb07b0ee8b6331238ea96 | |
10 | Patch0: %{name}-gnu-m4-detect.patch | |
11 | Patch1: %{name}-link.patch | |
12 | URL: http://docsis.sourceforge.net/ | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: bison | |
16 | BuildRequires: flex | |
17 | BuildRequires: libtool | |
18 | BuildRequires: net-snmp-devel | |
19 | Requires: mibs-%{name} | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Encoding Configuration File Settings into binary configuration files | |
24 | as specified by the DOCSIS RFI 1.1. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Kodowanie ustawień konfiguracyjnych w binarnych plikach | |
28 | konfiguracyjnych zgodnie z DOCSIS RFI 1.1. | |
29 | ||
30 | %package -n mibs-%{name} | |
31 | Summary: MIBs from DOCSIS | |
32 | Group: Base | |
33 | Requires: mibs-dirs | |
34 | Requires: mibs-net-snmp | |
35 | ||
36 | %description -n mibs-%{name} | |
37 | MIBs (Management Information Base) from DOCSIS. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | %patch0 -p1 | |
42 | %patch1 -p1 | |
43 | ||
44 | %build | |
45 | %{__libtoolize} | |
46 | %{__aclocal} | |
47 | %{__autoconf} | |
48 | %{__automake} | |
49 | %{__autoheader} | |
50 | %configure | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT \ | |
58 | mibsdir=%{_datadir}/mibs | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc AUTHORS ChangeLog NEWS README TODO | |
66 | %attr(755,root,root) %{_bindir}/docsis | |
67 | %{_datadir}/%{name} | |
68 | ||
69 | %files -n mibs-%{name} | |
70 | %defattr(644,root,root,755) | |
71 | %{_datadir}/mibs/* |