packaging: depend on the same release
[platform/upstream/libxkbcommon.git] / packaging / libxkbcommon.spec
index 59b657d..e3f4d18 100644 (file)
@@ -1,47 +1,42 @@
 Name:           libxkbcommon
-Version:        0.0.800
+Version:        0.4.3
 Release:        0
 License:        MIT
 Summary:        Wayland libxkbcommon library
 Url:            http://wayland.freedesktop.org/
-Group:          Development/Libraries/C and C++
+Group:          Development/Libraries
 
-#Git-Clone:    git://anongit.freedesktop.org/xorg/lib/libxkbcommon
-#Git-Web:      http://cgit.freedesktop.org/xorg/lib/libxkbcommon/
 Source:         %{name}-%{version}.tar.xz
+#X-Vcs-Url:     https://github.com/xkbcommon/libxkbcommon.git
+Source1001:     libxkbcommon.manifest
 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)
+Keyboard handling library using XKB data.
 
 %package devel
 Summary:        Development files for the Wayland libxkbcommon library
-Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
 
 %description devel
-(Upstream has not provided a description)
+Keyboard handling library using XKB data.
 
 This package contains the development headers for the library found
 in %{name}.
 
 %prep
 %setup -qn %{name}
+cp %{SOURCE1001} .
 
 %build
-autoreconf -fi;
-%configure --disable-static
-make %{?_smp_mflags} V=1;
+%autogen --disable-static --disable-x11
+%__make %{?_smp_mflags} V=1;
 
 %install
 %make_install
@@ -51,13 +46,15 @@ make %{?_smp_mflags} V=1;
 %postun  -p /sbin/ldconfig
 
 %files
+%manifest %{name}.manifest
 %defattr(-,root,root)
+%license COPYING
 %{_libdir}/libxkbcommon.so.0*
 
 %files devel
+%manifest %{name}.manifest
 %defattr(-,root,root)
 %{_includedir}/xkbcommon
 %{_libdir}/libxkbcommon.so
 %{_libdir}/pkgconfig/xkbcommon.pc
 
-%changelog