]> git.pld-linux.org Git - packages/ddcxinfo-knoppix.git/commitdiff
- ddcxinfo and tools taken from knoppix
authortommat <tommat@pld-linux.org>
Mon, 21 Feb 2005 01:18:35 +0000 (01:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- compiles for now but segfaults build with llh 2.6.10.0-1 and
  glibc 2.3.4-0.20041122.2 (on vm86old function)

Changed files:
    ddcxinfo-knoppix.spec -> 1.1

ddcxinfo-knoppix.spec [new file with mode: 0644]

diff --git a/ddcxinfo-knoppix.spec b/ddcxinfo-knoppix.spec
new file mode 100644 (file)
index 0000000..90d9bee
--- /dev/null
@@ -0,0 +1,45 @@
+Summary:       Monitor/Graphics card DDC hardware detection
+Name:          ddcxinfo-knoppix
+%define        sub_ver 5
+%define                _ver    0.6
+Version:       %{_ver}_%{sub_ver}
+Release:       0.3
+Epoch:         0
+License:       GPL v2
+Group:         Applications/System
+Source0:       http://developer.linuxtag.net/knoppix/sources/%{name}_%{_ver}-%{sub_ver}.tar.gz
+# Source0-md5: a397ca0ab56e83dd0fdeb4d0a84b8c9e
+URL:           www.knopper.net
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Monitor/Graphics card DDC hardware detection.
+
+%prep
+%setup -q -n %{name}-%{_ver}
+
+%build
+%{__make} \
+       CC=%{_target_cpu}-pld-linux-gcc \
+       CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
+install ddcxinfo $RPM_BUILD_ROOT%{_sbindir}/ddcxinfo
+install ddcxinfo-knoppix $RPM_BUILD_ROOT%{_sbindir}/ddcxinfo-knoppix
+install modetest $RPM_BUILD_ROOT%{_sbindir}/modetest
+install svgamodes $RPM_BUILD_ROOT%{_sbindir}/svgamodes
+install debian/ddcxinfo-knoppix.1 $RPM_BUILD_ROOT%{_mandir}/man1/ddcxinfo-knoppix.1
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man1/*
This page took 0.105357 seconds and 4 git commands to generate.