aboutsummaryrefslogtreecommitdiffstats
path: root/xawtv.spec
blob: 77b4098ce9314f23349e84c5582d14bc6b2b8620 (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
Name:         xawtv
Group:        Applications/Multimedia
Autoreqprov:  on
Version:      3.96
Release:      0
License:      GPL
Summary:      v4l applications
Source:       http://bytesex.org/xawtv/%{name}_%{version}.tar.gz
Buildroot:    /var/tmp/root.%{name}-%{version}

%description
fixme

%prep
%setup -q

%build
mkdir build
cd build
CFLAGS="$RPM_OPT_FLAGS" ../configure --prefix=/usr/X11R6
make

%install
test "%{buildroot}" != "" && rm -rf "%{buildroot}"
(cd build; make DESTDIR="%{buildroot}" SUID_ROOT="" install)
gzip -v %{buildroot}/usr/X11R6/man/man*/*.[158]
gzip -v %{buildroot}/usr/X11R6/man/*/man*/*.[158]
find %{buildroot} -type f -print	\
	| sed -e 's|%{buildroot}||'	\
	| grep -v -e %{docdir}		\
	| grep -v -e bin/v4l-conf	\
	> filelist

%files -f filelist
%defattr(-,root,root)
%doc COPYING Changes TODO README README.* contrib/frequencies*
%attr(4711,root,root) /usr/X11R6/bin/v4l-conf

%clean
test "%{buildroot}" != "" && rm -rf "%{buildroot}"

Privacy Policy