summaryrefslogtreecommitdiffstats
path: root/XineramaBarriers.spec
blob: b4dce02cea97af13baf922ab86cf6bc74c46440c (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
42
43
44
Name:           XineramaBarriers
Version:        1.0
Release:        1%{?dist}
Summary:        Creates X pointer barriers from Xinerama information

Group:          Applications/System
License:        GPLv2+
URL:            git://fedorapeople.org/~venemo/XineramaBarriers.git
Source0:        http://sources.venemo.net/%{name}-%{version}.tar.gz

# this is for qmake, Qt itself is not required by the package
BuildRequires: pkgconfig(QtCore)
BuildRequires: pkgconfig(x11), pkgconfig(xinerama), pkgconfig(xfixes)

%description 
XineramaBarriers is an X client application which
will create pointer barriers
based on the Xinerama information of your current driver.
Only works with XFixes v5 or higher and the Xorg server
which has the pointer barriers patch.

%prep
%setup -q

%build
# This will find qmake on both Fedora and MeeGo
qmake-qt4 || qmake
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make INSTALL_ROOT=$RPM_BUILD_ROOT install

%files
# Setting default file attributes
%defattr(-,root,root,-)
# Listing the files in the package
%{_bindir}/XineramaBarriers
# Documentation
%doc LICENSE

%changelog
* Sun Apr 28 2011 Timur Kristóf <venemo@msn.com> 1.0-1
- Initial version of the package in RPM