aboutsummaryrefslogtreecommitdiffstats
path: root/drminfo.spec
blob: 6bdfe869c0e86142667491a5b034a69cae783244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Name:         drminfo
License:      GPLv2+
Version:      1
Release:      1%{?dist}
Summary:      drminfo
Group:        FIXME
URL:          http://www.kraxel.org/blog/linux/%{name}/
Source:       http://www.kraxel.org/releases/%{name}/%{name}-%{version}.tar.gz

Requires:     font(liberationmono)

BuildRequires: libjpeg-devel
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-gl)
BuildRequires: pkgconfig(pixman-1)

%description
drminfo - print drm device props
drmtest - simple drm test app

%prep
%setup -q

%build
export CFLAGS="%{optflags}"
make drminfo drmtest

%install
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_mandir}/man1
install drminfo %{buildroot}%{_bindir}/drminfo
install drmtest %{buildroot}%{_bindir}/drmtest
install -m644 drminfo.man %{buildroot}%{_mandir}/man1/drminfo.1
install -m644 drmtest.man %{buildroot}%{_mandir}/man1/drmtest.1

%files
%{_bindir}/drm*
%{_mandir}/man1/drm*.1*