]> git.pld-linux.org Git - packages/docsis.git/commitdiff
- added AC-branch auto/th/docsis-0_9_5-0_1
authortwittner <twittner@pld-linux.org>
Fri, 21 Sep 2007 23:35:02 +0000 (23:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    docsis-gnu-m4-detect.patch -> 1.1
    docsis.spec -> 1.1

docsis-gnu-m4-detect.patch [new file with mode: 0644]
docsis.spec [new file with mode: 0644]

diff --git a/docsis-gnu-m4-detect.patch b/docsis-gnu-m4-detect.patch
new file mode 100644 (file)
index 0000000..a66b20b
--- /dev/null
@@ -0,0 +1,11 @@
+--- docsis-0.9.5/configure.in~ 2007-09-22 00:55:03.862858273 +0200
++++ docsis-0.9.5/configure.in  2007-09-22 00:58:30.177668639 +0200
+@@ -16,7 +16,7 @@
+   AC_MSG_ERROR([M4 is required])
+ else
+   ac_m4_vers=`$M4 --version 2>/dev/null | head -1` ;
+-  ac_is_gnu_m4=`echo $ac_m4_vers | cut -d' ' -f1`;
++  ac_is_gnu_m4=`echo $ac_m4_vers | grep -q GNU && echo GNU` ;
+   if test "x$ac_is_gnu_m4" = "xGNU"; then
+       AC_MSG_RESULT([   found $ac_m4_vers at $M4 ])
+   else
diff --git a/docsis.spec b/docsis.spec
new file mode 100644 (file)
index 0000000..c4e82d7
--- /dev/null
@@ -0,0 +1,51 @@
+Summary:       Enconding Configuration File Settings into binary configuration files as specified by the DOCSIS RFI 1.1
+#Summary(pl.UTF-8):    -
+Name:          docsis
+Version:       0.9.5
+Release:       0.1
+License:       GPL v2
+Group:         Applications
+Source0:       http://dl.sourceforge.net/docsis/%{name}-%{version}.tar.gz
+# Source0-md5: 2b89cf254a5eb07b0ee8b6331238ea96
+URL:           http://docsis.sourceforge.net/
+Patch0:                %{name}-gnu-m4-detect.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: flex
+BuildRequires: net-snmp-devel
+Requires:      net-snmp-mibs
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Enconding Configuration File Settings into binary configuration files
+as specified by the DOCSIS RFI 1.1.
+
+#%description -l pl.UTF-8
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%{__autoheader}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_datadir}/snmp/mibs/*
This page took 0.066368 seconds and 4 git commands to generate.