-
Notifications
You must be signed in to change notification settings - Fork 0
/
brdf.spec.in
49 lines (37 loc) · 975 Bytes
/
brdf.spec.in
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
42
43
44
45
46
47
48
49
# RPMs can be built using 'git make-rpm'
Name: brdf
Version: __VERSION__
Release: __RELEASE__%{?dist}
Summary: BRDF Explorer
Group: Applications/Multimedia
License: Disney
URL: http://gitweb/projects/%{name}
Source0: http://gitweb/projects/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: glew
BuildRequires: glew-devel
BuildRequires: qt
BuildRequires: qt-devel
BuildRequires: pkgconfig-disney
Requires: glew
Requires: qt
prefix: %{_prefix}
BuildRoot: %{_topdir}/BUILDROOT/%{name}-%{version}
%description
The BRDF Explorer is the best way to quickly get a feel for
how shader controls work and quickly dial in material settings
%prep
%setup -q
%build
%install
qmake-qt4 prefix=%{_prefix}
make INSTALL_ROOT=%{buildroot} install
%clean
rm -rf %{buildroot}
%post
%postun
%files
%defattr(-,root,root,-)
%{_bindir}/brdf
%{_datadir}/brdf