]> git.pld-linux.org Git - packages/docsis.git/blob - docsis.spec
703a6cdfabbd66609f582917bd1529697bec202c
[packages/docsis.git] / docsis.spec
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:        3
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:  flex
16 BuildRequires:  libtool
17 BuildRequires:  net-snmp-devel
18 Requires:       mibs-%{name}
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Encoding Configuration File Settings into binary configuration files
23 as specified by the DOCSIS RFI 1.1.
24
25 %description -l pl.UTF-8
26 Kodowanie ustawieÅ„ konfiguracyjnych w binarnych plikach
27 konfiguracyjnych zgodnie z DOCSIS RFI 1.1.
28
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
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42
43 %build
44 %{__libtoolize}
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 \
56         DESTDIR=$RPM_BUILD_ROOT \
57         mibsdir=%{_datadir}/mibs
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
65 %attr(755,root,root) %{_bindir}/docsis
66 %{_datadir}/%{name}
67
68 %files -n mibs-%{name}
69 %defattr(644,root,root,755)
70 %{_datadir}/mibs/*
This page took 0.028418 seconds and 2 git commands to generate.