Accepting request 581266 from GNOME:Next

spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581266
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libxklavier?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2018-03-05 13:57:18 +00:00 committed by Git OBS Bridge
parent 03a0eae4fa
commit 93bae09727
2 changed files with 13 additions and 16 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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

View File

@ -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,23 +20,22 @@ 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
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: doxygen 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.
@ -86,40 +85,33 @@ This library allows you to simplify XKB-related development.
%build %build
%configure \ %configure \
--with-pic \ --with-pic \
--with-xkb-base=/usr/share/X11/xkb \ --with-xkb-base=%{_datadir}/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