2007-01-08 17:48:33 +01:00
|
|
|
#
|
2010-01-18 13:57:02 +01:00
|
|
|
# spec file for package libxklavier (Version 5.0)
|
2007-01-08 17:48:33 +01:00
|
|
|
#
|
2010-01-18 13:57:02 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-08 17:48:33 +01:00
|
|
|
#
|
2008-09-12 22:17:54 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-08 17:48:33 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-06 03:39:33 +02:00
|
|
|
|
2007-01-08 17:48:33 +01:00
|
|
|
Name: libxklavier
|
2008-06-22 03:46:32 +02:00
|
|
|
BuildRequires: doxygen glib2-devel gtk-doc iso-codes-devel libxml2-devel pkg-config xorg-x11-devel
|
2010-01-18 13:57:02 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2007-01-08 17:48:33 +01:00
|
|
|
Group: Development/Libraries/X11
|
2010-01-18 13:57:02 +01:00
|
|
|
Version: 5.0
|
2009-02-06 18:08:07 +01:00
|
|
|
Release: 1
|
2008-02-08 18:17:43 +01:00
|
|
|
Summary: Library with X keyboard related functions
|
2007-01-08 17:48:33 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2010-01-18 13:57:02 +01:00
|
|
|
Source99: baselibs.conf
|
2008-01-25 17:42:19 +01:00
|
|
|
Url: http://www.freedesktop.org/Software/LibXklavier
|
2007-01-08 17:48:33 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This library allows you to simplify XKB-related development.
|
|
|
|
|
|
|
|
%package devel
|
2010-01-18 13:57:02 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2008-02-08 18:17:43 +01:00
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
2007-01-08 17:48:33 +01:00
|
|
|
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.
|
|
|
|
|
2010-01-18 13:57:02 +01:00
|
|
|
%package -n libxklavier16
|
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2008-02-08 18:17:43 +01:00
|
|
|
Summary: Library with X keyboard related functions
|
|
|
|
Group: Development/Libraries/X11
|
2009-03-26 23:58:29 +01:00
|
|
|
Provides: %{name} = %{version}
|
|
|
|
Obsoletes: %{name} < %{version}
|
2008-02-08 18:17:43 +01:00
|
|
|
|
2010-01-18 13:57:02 +01:00
|
|
|
%description -n libxklavier16
|
2008-02-08 18:17:43 +01:00
|
|
|
This library allows you to simplify XKB-related development.
|
|
|
|
|
2007-01-08 17:48:33 +01:00
|
|
|
%package doc
|
2010-01-18 13:57:02 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2008-02-08 18:17:43 +01:00
|
|
|
Summary: Additional Package Documentation for libxklavier
|
2007-01-08 17:48:33 +01:00
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This library allows you to simplify XKB-related development.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-01-27 02:19:05 +01:00
|
|
|
%configure --with-pic\
|
2007-03-06 18:58:37 +01:00
|
|
|
--with-xkb-base=/usr/share/X11/xkb\
|
2007-02-15 18:30:41 +01:00
|
|
|
--disable-static
|
2007-01-08 17:48:33 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
2009-03-26 23:58:29 +01:00
|
|
|
%makeinstall
|
2009-01-27 02:19:05 +01:00
|
|
|
%{__rm} -vf %{buildroot}%{_libdir}/*.la
|
2007-01-08 17:48:33 +01:00
|
|
|
|
2010-01-18 13:57:02 +01:00
|
|
|
%post -n libxklavier16 -p /sbin/ldconfig
|
2007-01-08 17:48:33 +01:00
|
|
|
|
2010-01-18 13:57:02 +01:00
|
|
|
%postun -n libxklavier16 -p /sbin/ldconfig
|
2007-01-08 17:48:33 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2010-01-18 13:57:02 +01:00
|
|
|
%files -n libxklavier16
|
2008-02-10 10:37:13 +01:00
|
|
|
%defattr(-,root,root)
|
2009-03-26 23:58:29 +01:00
|
|
|
%doc AUTHORS COPYING.LIB CREDITS ChangeLog NEWS README
|
2007-01-08 17:48:33 +01:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_datadir}/gtk-doc/html/libxklavier
|
|
|
|
|
2007-03-06 18:58:37 +01:00
|
|
|
%changelog
|