]>
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 | |
3daddfa0 | 5 | Release: 8 |
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 | |
45d685c8 | 15 | BuildRequires: bison |
15e77673 | 16 | BuildRequires: flex |
408b0656 | 17 | BuildRequires: libtool |
15e77673 | 18 | BuildRequires: net-snmp-devel |
408b0656 | 19 | Requires: mibs-%{name} |
15e77673 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
1f55a7d5 | 23 | Encoding Configuration File Settings into binary configuration files |
15e77673 | 24 | as specified by the DOCSIS RFI 1.1. |
25 | ||
1f55a7d5 JB |
26 | %description -l pl.UTF-8 |
27 | Kodowanie ustawień konfiguracyjnych w binarnych plikach | |
28 | konfiguracyjnych zgodnie z DOCSIS RFI 1.1. | |
15e77673 | 29 | |
408b0656 ER |
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 | ||
15e77673 | 39 | %prep |
40 | %setup -q | |
41 | %patch0 -p1 | |
337e74f6 | 42 | %patch1 -p1 |
15e77673 | 43 | |
44 | %build | |
337e74f6 | 45 | %{__libtoolize} |
15e77673 | 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 \ | |
408b0656 ER |
57 | DESTDIR=$RPM_BUILD_ROOT \ |
58 | mibsdir=%{_datadir}/mibs | |
15e77673 | 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 | |
408b0656 | 66 | %attr(755,root,root) %{_bindir}/docsis |
15e77673 | 67 | %{_datadir}/%{name} |
408b0656 ER |
68 | |
69 | %files -n mibs-%{name} | |
70 | %defattr(644,root,root,755) | |
71 | %{_datadir}/mibs/* |