[kmscon] Initial import of kmscon

Nicolas Chauvet kwizart at fedoraproject.org
Thu May 8 17:22:18 UTC 2014


commit 905994c0591b6645cb4d3604f7019735ab8445b8
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Thu May 8 19:22:30 2014 +0200

    Initial import of kmscon

 .gitignore  |    1 +
 kmscon.spec |   83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..16f81a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kmscon-8.tar.xz
diff --git a/kmscon.spec b/kmscon.spec
new file mode 100644
index 0000000..5ee263d
--- /dev/null
+++ b/kmscon.spec
@@ -0,0 +1,83 @@
+Name:           kmscon
+Version:        8
+Release:        2%{?dist}
+Summary:        KMS/DRM based System Console
+
+License:        MIT
+URL:            http://www.freedesktop.org/wiki/Software/kmscon/
+Source0:        http://freedesktop.org/software/kmscon/releases/kmscon-%{version}.tar.xz
+
+BuildRequires:  pkgconfig(gbm)
+BuildRequires:  pkgconfig(glesv2)
+BuildRequires:  pkgconfig(libdrm)
+BuildRequires:  pkgconfig(libtsm)
+BuildRequires:  pkgconfig(libudev)
+BuildRequires:  pkgconfig(pango)
+BuildRequires:  pkgconfig(libsystemd-login)
+BuildRequires:  pkgconfig(xkbcommon)
+BuildRequires:  libxslt
+
+BuildRequires: systemd-units
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+
+%description
+Kmscon is a simple terminal emulator based on linux kernel mode setting (KMS).
+It is an attempt to replace the in-kernel VT implementation with a userspace
+console. See kmscon(1) man-page for usage information.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+# Install systemd services
+mkdir -p $RPM_BUILD_ROOT%{_unitdir}
+for s in kmscon.service  kmsconvt at .service ; do
+  install -pm 0644 docs/${s} $RPM_BUILD_ROOT%{_unitdir}
+done
+
+
+%check
+make check
+
+
+%post
+%systemd_post kmscon.service
+%systemd_post kmsconvt at .service
+
+%preun
+%systemd_preun kmscon.service
+%systemd_preun kmsconvt at .service
+
+%postun
+%systemd_postun_with_restart kmscon.service
+%systemd_postun_with_restart kmsconvt at .service
+
+
+%files
+%doc COPYING NEWS README
+%{_bindir}/kmscon
+%{_unitdir}/*.service
+%dir %{_libdir}/kmscon
+%{_libdir}/kmscon/mod-*.so
+
+
+%changelog
+* Thu Feb 27 2014 Nicolas Chauvet <kwizart at gmail.com> - 8-2
+- Update to libxslt libgbm
+
+* Thu Feb 27 2014 Nicolas Chauvet <kwizart at gmail.com> - 8-1
+- Initial spec file
diff --git a/sources b/sources
index e69de29..29a1f69 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+90d39c4ef53a11c53f27be4a7e9acee4  kmscon-8.tar.xz


More information about the scm-commits mailing list