Accepting request 583048 from GNOME:Factory
- Fix RPM groups. Update summaries. Remove --with-pic. (forwarded request 583037 from jengelh) OBS-URL: https://build.opensuse.org/request/show/583048 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxklavier?expand=0&rev=37
This commit is contained in:
commit
02ac5f6ffe
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 5 15:43:03 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Fix RPM groups. Update summaries. Remove --with-pic.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:36:47 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 1 15:19:46 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libxklavier
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,7 +20,7 @@ Name: libxklavier
|
||||
Version: 5.3
|
||||
Release: 0
|
||||
Summary: Library with X keyboard related functions
|
||||
License: LGPL-2.0+
|
||||
License: LGPL-2.0-or-later
|
||||
Group: Development/Libraries/X11
|
||||
Url: http://www.freedesktop.org/Software/LibXklavier
|
||||
Source: http://download.gnome.org/sources/libxklavier/5.3/%{name}-%{version}.tar.xz
|
||||
@ -29,20 +29,19 @@ BuildRequires: doxygen
|
||||
BuildRequires: gobject-introspection-devel >= 1.30
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: iso-codes-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xi)
|
||||
BuildRequires: pkgconfig(xkbfile)
|
||||
Requires: xkbcomp
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This library allows you to simplify XKB-related development.
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Summary: Development files for libxklavier
|
||||
Group: Development/Libraries/X11
|
||||
Requires: %{name} = %{version}
|
||||
Requires: glibc-devel
|
||||
@ -63,7 +62,7 @@ Obsoletes: %{name} < %{version}
|
||||
This library allows you to simplify XKB-related development.
|
||||
|
||||
%package -n typelib-1_0-Xkl-1_0
|
||||
Summary: Library with X keyboard related functions -- Introspection bindings
|
||||
Summary: Introspection bindings for libxklavier
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-Xkl-1_0
|
||||
@ -74,7 +73,7 @@ libxklavier.
|
||||
|
||||
%package doc
|
||||
Summary: Additional Package Documentation for libxklavier
|
||||
Group: Development/Libraries/X11
|
||||
Group: Documentation/HTML
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
@ -85,41 +84,33 @@ This library allows you to simplify XKB-related development.
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--with-pic \
|
||||
--with-xkb-base=/usr/share/X11/xkb \
|
||||
--with-xkb-base=%{_datadir}/X11/xkb \
|
||||
--with-xkb-bin-base=%{_bindir} \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -v %{buildroot}%{_libdir}/*.la
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libxklavier16 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libxklavier16 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -n libxklavier16
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING.LIB CREDITS ChangeLog NEWS README
|
||||
%license COPYING.LIB
|
||||
%doc AUTHORS CREDITS ChangeLog NEWS README
|
||||
%{_libdir}/libxklavier.so.*
|
||||
|
||||
%files -n typelib-1_0-Xkl-1_0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/girepository-1.0/Xkl-1.0.typelib
|
||||
|
||||
%files devel
|
||||
%defattr (-, root, root)
|
||||
%{_includedir}/libxklavier/
|
||||
%{_libdir}/libxklavier.so
|
||||
%{_libdir}/pkgconfig/libxklavier.pc
|
||||
%{_datadir}/gir-1.0/Xkl-1.0.gir
|
||||
|
||||
%files doc
|
||||
%defattr (-, root, root)
|
||||
%{_datadir}/gtk-doc/html/libxklavier
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user