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
|
Mon Feb 1 15:19:46 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libxklavier
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,7 +20,7 @@ Name: libxklavier
|
|||||||
Version: 5.3
|
Version: 5.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library with X keyboard related functions
|
Summary: Library with X keyboard related functions
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.0-or-later
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Url: http://www.freedesktop.org/Software/LibXklavier
|
Url: http://www.freedesktop.org/Software/LibXklavier
|
||||||
Source: http://download.gnome.org/sources/libxklavier/5.3/%{name}-%{version}.tar.xz
|
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: gobject-introspection-devel >= 1.30
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: iso-codes-devel
|
BuildRequires: iso-codes-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xi)
|
BuildRequires: pkgconfig(xi)
|
||||||
BuildRequires: pkgconfig(xkbfile)
|
BuildRequires: pkgconfig(xkbfile)
|
||||||
Requires: xkbcomp
|
Requires: xkbcomp
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library allows you to simplify XKB-related development.
|
This library allows you to simplify XKB-related development.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Development files for libxklavier
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
@ -63,7 +62,7 @@ Obsoletes: %{name} < %{version}
|
|||||||
This library allows you to simplify XKB-related development.
|
This library allows you to simplify XKB-related development.
|
||||||
|
|
||||||
%package -n typelib-1_0-Xkl-1_0
|
%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
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n typelib-1_0-Xkl-1_0
|
%description -n typelib-1_0-Xkl-1_0
|
||||||
@ -74,7 +73,7 @@ libxklavier.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Additional Package Documentation for libxklavier
|
Summary: Additional Package Documentation for libxklavier
|
||||||
Group: Development/Libraries/X11
|
Group: Documentation/HTML
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
@ -85,41 +84,33 @@ This library allows you to simplify XKB-related development.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--with-pic \
|
--with-xkb-base=%{_datadir}/X11/xkb \
|
||||||
--with-xkb-base=/usr/share/X11/xkb \
|
|
||||||
--with-xkb-bin-base=%{_bindir} \
|
--with-xkb-bin-base=%{_bindir} \
|
||||||
--disable-static
|
--disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -v %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libxklavier16 -p /sbin/ldconfig
|
%post -n libxklavier16 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libxklavier16 -p /sbin/ldconfig
|
%postun -n libxklavier16 -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -n libxklavier16
|
%files -n libxklavier16
|
||||||
%defattr(-,root,root)
|
%license COPYING.LIB
|
||||||
%doc AUTHORS COPYING.LIB CREDITS ChangeLog NEWS README
|
%doc AUTHORS CREDITS ChangeLog NEWS README
|
||||||
%{_libdir}/libxklavier.so.*
|
%{_libdir}/libxklavier.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-Xkl-1_0
|
%files -n typelib-1_0-Xkl-1_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/Xkl-1.0.typelib
|
%{_libdir}/girepository-1.0/Xkl-1.0.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr (-, root, root)
|
|
||||||
%{_includedir}/libxklavier/
|
%{_includedir}/libxklavier/
|
||||||
%{_libdir}/libxklavier.so
|
%{_libdir}/libxklavier.so
|
||||||
%{_libdir}/pkgconfig/libxklavier.pc
|
%{_libdir}/pkgconfig/libxklavier.pc
|
||||||
%{_datadir}/gir-1.0/Xkl-1.0.gir
|
%{_datadir}/gir-1.0/Xkl-1.0.gir
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr (-, root, root)
|
|
||||||
%{_datadir}/gtk-doc/html/libxklavier
|
%{_datadir}/gtk-doc/html/libxklavier
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user