Search
SailfishOS Open Build Service
>
Projects
>
home:notmart
:
CE:MW:PlasmaActive
>
libxklavier
> libxklavier.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libxklavier.spec of Package libxklavier
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.23 # # >> macros # << macros Name: libxklavier Summary: High-level API for X Keyboard Extension Version: 5.1 Release: 1 Group: System/Libraries License: LGPLv2+ URL: http://gswitchit.sourceforge.net/ Source0: http://download.gnome.org/sources/libxklavier/5.1/%{name}-%{version}.tar.bz2 Source100: libxklavier.yaml Patch0: libxklavier-5.0-ignore-bad-match.patch Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(xkbfile) BuildRequires: pkgconfig(iso-codes) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(glib-2.0) >= 2.6.0 BuildRequires: doxygen %description libxklavier is a library providing a high-level API for the X Keyboard Extension (XKB). This library is intended to support XFree86 and other commercial X servers. It is useful for creating XKB-related software (layout indicators etc). %package devel Summary: Development files for libxklavier Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains libraries, header files and developer documentation needed to develop libxklavier applications. %prep %setup -q -n %{name}-%{version} # libxklavier-5.0-ignore-bad-match.patch %patch0 -p1 # >> setup # << setup %build # >> build pre # << build pre %configure --disable-static \ --disable-doxygen \ --with-xkb-base='%{_datadir}/X11/xkb' \ --with-xkb-bin-base='%{_bindir}' make %{?jobs:-j%jobs} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %make_install # >> install post mkdir -p %{buildroot}/%{_datadir}/doc/%{name}-%{version} for f in `ls %{buildroot}/%{_datadir}/doc/`; do if [ -f %{buildroot}/%{_datadir}/doc/$f ]; then mv %{buildroot}/%{_datadir}/doc/$f %{buildroot}/%{_datadir}/doc/%{name}-%{version} fi done # << install post %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) # >> files %doc AUTHORS NEWS README COPYING.LIB %{_libdir}/lib*.so.* # << files %files devel %defattr(-,root,root,-) # >> files devel %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %{_includedir}/* %{_datadir}/gtk-doc/html/libxklavier/ # << files devel