summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-06 22:45:35 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-04-14 00:44:12 -0700
commit58521aa9c842c1575736aee9dbd2ae45c5baefec (patch)
treec46ea91da0c800a781e09d77fdda5876e99f26f2
parent27a11762abbf0dbeb6d406fee4eee89229b6a660 (diff)
downloadlibxkbcommon-58521aa9c842c1575736aee9dbd2ae45c5baefec.tar.gz
libxkbcommon-58521aa9c842c1575736aee9dbd2ae45c5baefec.tar.bz2
libxkbcommon-58521aa9c842c1575736aee9dbd2ae45c5baefec.zip
add packaging
-rw-r--r--packaging/baselibs.conf1
-rw-r--r--packaging/libxkbcommon.spec63
2 files changed, 64 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644
index 0000000..646a1c1
--- /dev/null
+++ b/packaging/baselibs.conf
@@ -0,0 +1 @@
+libxkbcommon0
diff --git a/packaging/libxkbcommon.spec b/packaging/libxkbcommon.spec
new file mode 100644
index 0000000..59b657d
--- /dev/null
+++ b/packaging/libxkbcommon.spec
@@ -0,0 +1,63 @@
+Name: libxkbcommon
+Version: 0.0.800
+Release: 0
+License: MIT
+Summary: Wayland libxkbcommon library
+Url: http://wayland.freedesktop.org/
+Group: Development/Libraries/C and C++
+
+#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxkbcommon
+#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxkbcommon/
+Source: %{name}-%{version}.tar.xz
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: libtool >= 2
+BuildRequires: pkgconfig
+BuildRequires: xz
+BuildRequires: pkgconfig(kbproto) >= 1.0.4
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto)
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+(Upstream has not provided a description)
+
+%package devel
+Summary: Development files for the Wayland libxkbcommon library
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+
+%description devel
+(Upstream has not provided a description)
+
+This package contains the development headers for the library found
+in %{name}.
+
+%prep
+%setup -qn %{name}
+
+%build
+autoreconf -fi;
+%configure --disable-static
+make %{?_smp_mflags} V=1;
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%{_libdir}/libxkbcommon.so.0*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/xkbcommon
+%{_libdir}/libxkbcommon.so
+%{_libdir}/pkgconfig/xkbcommon.pc
+
+%changelog