56 lines
1.5 KiB
RPMSpec
56 lines
1.5 KiB
RPMSpec
|
Name: monitor-edid
|
||
|
Version: svn266060
|
||
|
Release: 1mamba
|
||
|
Summary: Tool for probing and parsing monitor EDID
|
||
|
Group: System/Hardware
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||
|
URL: http://wiki.mandriva.com/en/Tools/monitor-edid
|
||
|
# RELEASE=266060
|
||
|
# svn export -r $RELEASE http://svn.mandriva.com/svn/soft/monitor-edid/trunk monitor-edid-svn$RELEASE
|
||
|
# tar cjf monitor-edid-svn$RELEASE.tar.bz2 monitor-edid-svn$RELEASE
|
||
|
Source: http://.../monitor-edid-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
%ifnarch arm
|
||
|
BuildRequires: libx86-devel
|
||
|
%endif
|
||
|
BuildRequires: perl-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Requires: perl >= %perl_major_ver
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Monitor-edid is a tool for probing and parsing Extended display identification data (EDID) from monitors.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/monitor-parse-edid
|
||
|
%{_sbindir}/monitor-edid
|
||
|
%{_sbindir}/monitor-get-edid
|
||
|
%ifnarch arm
|
||
|
%{_sbindir}/monitor-get-edid-using-vbe
|
||
|
%endif
|
||
|
%{_sbindir}/monitor-probe
|
||
|
%{_sbindir}/monitor-probe-using-X
|
||
|
%doc COPYING README README.cvt
|
||
|
|
||
|
%changelog
|
||
|
* Tue Jan 01 2013 Davide Madrisan <davide.madrisan@gmail.com> svn266060-1mamba
|
||
|
- package created by autospec
|