xvattr/xvattr.spec

59 lines
1.3 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:20:33 -04:00
Name: xvattr
Version: 1.3
Release: 38
Summary: A software for getting and setting values of Xv attributes
License: GPLv2+
URL: http://www.dtek.chalmers.se/groups/dvd/
Source0: http://www.dtek.chalmers.se/~dvd/dist/xvattr-1.3.tar.gz
Patch0: xvattr-1.3-Convert-documentation-to-UTF-8.patch
Patch1: xvattr-1.3-Use-GTK_CFLAGS-properly.patch
Patch2: xvattr-1.3-Make-GTK-tools-optional.patch
BuildRequires: gcc git autoconf automake coreutils gtk+-devel
BuildRequires: make libX11-devel libXv-devel perl-podlators
%description
xvattr is a software that allows you to get and set the values of Xv
attributes (brightness, color key, etc.) of a X11 server.
%package -n gxvattr
Summary: GTK1-based GUI for Xv attributes
%description -n gxvattr
GTK1-based GUI for inspecting and setting Xv attributes.
%package help
Summary: Doc files for xvattr
Buildarch: noarch
%description help
The xvattr-help package contains doc files for xvattr.
%prep
%autosetup -n xvattr-1.3 -p1 -S git
autoreconf -ivf
%build
%configure --enable-gtk
%make_build
%install
%make_install
%files
%doc AUTHORS
%license COPYING
%{_bindir}/xvattr
%files -n gxvattr
%license COPYING
%{_bindir}/gxvattr
%files help
%doc ChangeLog NEWS README
%{_mandir}/man1/xvattr.1.gz
%changelog
* Fri Aug 30 2019 luhuaxin <luhuaxin@huawei.com> - 1.3-38
- Package init