]> git.pld-linux.org Git - packages/read-edid.git/commitdiff
- updated to 3.0.0 auto/th/read-edid-3.0.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 12 Sep 2013 15:01:24 +0000 (17:01 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 12 Sep 2013 15:01:24 +0000 (17:01 +0200)
read-edid.spec

index 85c798ebc5d0556fd1f82d4f91f2fa15173e71bd..9a0872daaa5f7f420cdd33651419f1541c76245c 100644 (file)
@@ -1,13 +1,14 @@
 Summary:       Gets various useful informations from a conforming PnP monitor
 Summary(pl.UTF-8):     Pobieranie różnych przydatnych informacji z monitora zgodnego z PnP
 Name:          read-edid
-Version:       2.0.0
+Version:       3.0.0
 Release:       1
 License:       GPL v2
 Group:         Applications/System
 Source0:       http://polypux.org/projects/read-edid/%{name}-%{version}.tar.gz
-# Source0-md5: 586e7fa1167773b27f4e505edc93274b
+# Source0-md5: 2ac6821cb3ef2eb7f62583f49f0867e0
 URL:           http://polypux.org/projects/read-edid/
+BuildRequires: cmake >= 2.6
 BuildRequires: libx86-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,7 +40,7 @@ pobiera te informacje z monitora poprzez DDC (Data Display Channel).
 parse-edid analizuje tę strukturę danych i wypisuje dane nadające się
 do wstawienia do pliku konfiguracyjnego XFree86 lub X.org.
 
-get-edit używa specyficznych dla architektury metod odpytywania karty
+get-edid używa specyficznych dla architektury metod odpytywania karty
 graficznej (instrukcji w trybie rzeczywistym x86 na i386, analizy
 drzewa urządzeń OpenFirmware na PowerMacu), więc jest dostępne tylko
 dla architektur i386 i powerpc.
@@ -48,7 +49,7 @@ dla architektur i386 i powerpc.
 %setup -q
 
 %build
-%configure
+%cmake .
 %{__make}
 
 %install
@@ -57,12 +58,19 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# bleh... broken cmakefiles
+%{__mv} $RPM_BUILD_ROOT%{_prefix}/{bin,sbin}
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+%{__mv} $RPM_BUILD_ROOT%{_prefix}/man/get-edid.man $RPM_BUILD_ROOT%{_mandir}/man1/get-edid.1
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_sbindir}/parse-edid
 %attr(755,root,root) %{_sbindir}/get-edid
-%{_mandir}/man1/*-edid.1*
+%attr(755,root,root) %{_sbindir}/parse-edid
+%{_mandir}/man1/get-edid.1*
This page took 0.097003 seconds and 4 git commands to generate.