libxklavier/libxklavier.spec
OBS User autobuild 7c34054669 Accepting request 29752 from GNOME:Factory
Copy from GNOME:Factory/libxklavier based on submit request 29752 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/29752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxklavier?expand=0&rev=19
2010-01-18 12:57:02 +00:00

101 lines
2.9 KiB
RPMSpec

#
# spec file for package libxklavier (Version 5.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libxklavier
BuildRequires: doxygen glib2-devel gtk-doc iso-codes-devel libxml2-devel pkg-config xorg-x11-devel
License: GPLv2+ ; LGPLv2.1+
Group: Development/Libraries/X11
Version: 5.0
Release: 1
Summary: Library with X keyboard related functions
Source: %{name}-%{version}.tar.bz2
Source99: baselibs.conf
Url: http://www.freedesktop.org/Software/LibXklavier
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This library allows you to simplify XKB-related development.
%package devel
License: GPLv2+ ; LGPLv2.1+
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/X11
Requires: %{name} = %{version} glib2-devel libxml2-devel glibc-devel %(rpm -q --whatprovides XFree86-devel --queryformat '%{NAME}')
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%package -n libxklavier16
License: GPLv2+ ; LGPLv2.1+
Summary: Library with X keyboard related functions
Group: Development/Libraries/X11
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
%description -n libxklavier16
This library allows you to simplify XKB-related development.
%package doc
License: GPLv2+ ; LGPLv2.1+
Summary: Additional Package Documentation for libxklavier
Group: Development/Libraries/X11
Requires: %{name} = %{version}
%description doc
This library allows you to simplify XKB-related development.
%prep
%setup -q
%build
%configure --with-pic\
--with-xkb-base=/usr/share/X11/xkb\
--disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
%{__rm} -vf %{buildroot}%{_libdir}/*.la
%post -n libxklavier16 -p /sbin/ldconfig
%postun -n libxklavier16 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libxklavier16
%defattr(-,root,root)
%doc AUTHORS COPYING.LIB CREDITS ChangeLog NEWS README
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files doc
%defattr (-, root, root)
%{_datadir}/gtk-doc/html/libxklavier
%changelog