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