diff --git a/README.md b/README.md index 3a4e713..aa728d2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # read-edid +read-edid elucidates various very useful informations from a conforming PnP monitor. + diff --git a/read-edid-3.0.0-fix-sharedir.patch b/read-edid-3.0.0-fix-sharedir.patch new file mode 100644 index 0000000..f000c02 --- /dev/null +++ b/read-edid-3.0.0-fix-sharedir.patch @@ -0,0 +1,10 @@ +--- read-edid-3.0.0/CMakeLists.txt.orig 2013-09-16 15:24:38.639682487 +0200 ++++ read-edid-3.0.0/CMakeLists.txt 2013-09-16 15:24:45.693620391 +0200 +@@ -12,5 +12,5 @@ + endif () + add_subdirectory (parse-edid) + +-INSTALL(FILES get-edid.man DESTINATION man) +-INSTALL(FILES AUTHORS ChangeLog COPYING NEWS README DESTINATION doc) ++INSTALL(FILES get-edid.man DESTINATION share/man/man1) ++INSTALL(FILES AUTHORS ChangeLog COPYING NEWS README DESTINATION share/doc/read-edid) diff --git a/read-edid.spec b/read-edid.spec new file mode 100644 index 0000000..9b289dc --- /dev/null +++ b/read-edid.spec @@ -0,0 +1,58 @@ +Name: read-edid +Version: 3.0.1 +Release: 1mamba +Summary: Elucidates various very useful informations from a conforming PnP monitor +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.polypux.org/projects/read-edid +Source: http://www.polypux.org/projects/read-edid/read-edid-%{version}.tar.gz +Patch0: read-edid-3.0.0-fix-sharedir.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libx86-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +read-edid elucidates various very useful informations from a conforming PnP monitor. + +%prep +%setup -q +#%patch0 -p1 + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/get-edid +%{_bindir}/parse-edid +%{_mandir}/man1/get-edid.1* +%dir %{_docdir}/read-edid +%{_docdir}/read-edid/* +%doc AUTHORS COPYING +#ChangeLog NEWS README + +%changelog +* Sat Mar 22 2014 Automatic Build System 3.0.1-1mamba +- automatic version update by autodist + +* Mon Sep 23 2013 Automatic Build System 3.0.0-1mamba +- automatic update by autodist + +* Mon Dec 08 2008 Silvan Calarco 2.0.0-1mamba +- update to 2.0.0 + +* Wed Jan 23 2008 Silvan Calarco 1.4.1-1mamba +- package created by autospec