summaryrefslogtreecommitdiffstats
path: root/XineramaBarriers.spec
diff options
context:
space:
mode:
authorTimur Kristóf <Timur@Timur-Amilo.(none)>2011-04-28 17:25:41 +0200
committerTimur Kristóf <Timur@Timur-Amilo.(none)>2011-04-28 17:25:41 +0200
commita112b564edfce0c6f0335bde4d65027fa87e208b (patch)
tree3188242eda04440cb1e78dd9accde50ffbc4078f /XineramaBarriers.spec
parent2805c7a8bf766fd4b66e0aa1398475cf7ae90bdf (diff)
downloadXineramaBarriers-master.tar.gz
XineramaBarriers-master.tar.xz
XineramaBarriers-master.zip
Created packaging informationHEADmaster
Diffstat (limited to 'XineramaBarriers.spec')
-rw-r--r--XineramaBarriers.spec44
1 files changed, 44 insertions, 0 deletions
diff --git a/XineramaBarriers.spec b/XineramaBarriers.spec
new file mode 100644
index 0000000..b4dce02
--- /dev/null
+++ b/XineramaBarriers.spec
@@ -0,0 +1,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