summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAndrey Klimenko <and.klimenko@samsung.com>2014-08-18 16:40:25 +0900
committerAndrey Klimenko <and.klimenko@samsung.com>2014-08-18 16:44:21 +0900
commit0eda78b65a791d1bcf6475f55eb8fbb2ed3d9cef (patch)
tree85e7eea588ccfdf298c084c2891c94d808f68a8c /packaging
parent939e9a95cb7e715685988f58e443c1b8b381cb82 (diff)
downloadx11-common-master.tar.gz
x11-common-master.tar.bz2
x11-common-master.zip
added Xorg startup configuration filesHEADmaster
Change-Id: I2d5cfa1a4a04a6ff11f324bd14b85ae5fcc8dbbc
Diffstat (limited to 'packaging')
-rw-r--r--packaging/x11-common.spec40
1 files changed, 40 insertions, 0 deletions
diff --git a/packaging/x11-common.spec b/packaging/x11-common.spec
new file mode 100644
index 0000000..334e4d2
--- /dev/null
+++ b/packaging/x11-common.spec
@@ -0,0 +1,40 @@
+Name: x11-common
+Summary: Configuration-files needed by xserver for autorun
+Version: 0.0.1
+Release: 1
+BuildArch: noarch
+Group: Graphics & UI Framework/X Window System
+License: MIT
+Source: %{name}-%{version}.tar.gz
+
+Requires: xorg-server
+Conflicts: weston-common
+
+%description
+Description: %{summary}
+
+
+%prep
+%setup -q
+
+%build
+%reconfigure \
+ --with-arch=noarch \
+ --with-conf-prefix=/
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/usr/lib/systemd/system
+mv %{buildroot}/display-manager.path %{buildroot}/usr/lib/systemd/system/
+mv %{buildroot}/display-manager.service %{buildroot}/usr/lib/systemd/system/
+mv %{buildroot}/display-manager-run.service %{buildroot}/usr/lib/systemd/system/
+
+%files
+%defattr(-,root,root,-)
+/usr/lib/systemd/system/display-manager.path
+/usr/lib/systemd/system/display-manager.service
+/usr/lib/systemd/system/display-manager-run.service