Fix some rpmlint issues.
OBS-URL: https://build.opensuse.org/package/show/M17N:Maliit/maliit-framework?expand=0&rev=56
This commit is contained in:
committed by
Git OBS Bridge
parent
c26280fa33
commit
cb90436e1f
@@ -5,56 +5,56 @@
|
||||
%define _qt4_translationdir %(qmake -query QT_INSTALL_TRANSLATIONS)
|
||||
%endif
|
||||
|
||||
Name: maliit-framework
|
||||
Version: 0.92.0
|
||||
Release: 1%{dist}
|
||||
Summary: Maliit Input Method Framework
|
||||
Name: maliit-framework
|
||||
Version: 0.92.0
|
||||
Release: 1%{dist}
|
||||
Summary: Maliit Input Method Framework
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2
|
||||
URL: http://www.maliit.org
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2
|
||||
URL: http://www.maliit.org
|
||||
Source0: http://maliit.org/releases/maliit-framework/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: pkgconfig(QtCore) >= 4.7.0
|
||||
BuildRequires: pkgconfig(QtDeclarative)
|
||||
BuildRequires: pkgconfig(QtCore) >= 4.7.0
|
||||
BuildRequires: pkgconfig(QtDeclarative)
|
||||
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
|
||||
%if 0%{?fedora} != 14
|
||||
# While Fedora 14 has a GTK+ 3 pre-release, the glib version
|
||||
# is to old and the build will fail
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(dbus-glib-1)
|
||||
BuildRequires: pkgconfig(gconf-2.0)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(dbus-glib-1)
|
||||
BuildRequires: pkgconfig(gconf-2.0)
|
||||
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcomposite)
|
||||
BuildRequires: pkgconfig(xdamage)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xfixes)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcomposite)
|
||||
BuildRequires: pkgconfig(xdamage)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xfixes)
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%gconf_schemas_requires
|
||||
%else
|
||||
Requires(pre): /usr/bin/gconftool-2
|
||||
Requires(post): /usr/bin/gconftool-2
|
||||
Requires(preun): /usr/bin/gconftool-2
|
||||
Requires(pre): /usr/bin/gconftool-2
|
||||
Requires(post): /usr/bin/gconftool-2
|
||||
Requires(preun): /usr/bin/gconftool-2
|
||||
%endif
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
%description
|
||||
Core server and libraries for the Maliit Input Methods Framework
|
||||
|
||||
%package devel
|
||||
Summary: Maliit Input Method Framework Development Package
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: Maliit Input Method Framework Development Package
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains the files necessary to develop
|
||||
@@ -62,71 +62,71 @@ input method plugins for Maliit, and applications using the libmaliit
|
||||
extension library.
|
||||
|
||||
%package -n libmaliit-1_0-0
|
||||
Summary: Maliit Framework Input Method library
|
||||
Group: Development/Libraries
|
||||
Requires(post): /sbin/ldconfig
|
||||
Summary: Maliit Framework Input Method library
|
||||
Group: Development/Libraries
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
%description -n libmaliit-1_0-0
|
||||
Maliit toolkit support extension library for Qt applications
|
||||
|
||||
%package -n libmaliit-1_0-0-devel
|
||||
Summary: Maliit Framework Input Method library development files
|
||||
Group: Development/Libraries
|
||||
Requires: libmaliit-1_0-0
|
||||
Summary: Maliit Framework Input Method library development files
|
||||
Group: Development/Libraries
|
||||
Requires: libmaliit-1_0-0
|
||||
|
||||
%description -n libmaliit-1_0-0-devel
|
||||
Development files for the Maliit toolkit support extension library
|
||||
for Qt applications
|
||||
|
||||
%package doc
|
||||
Summary: Maliit Framework Documentation
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: Maliit Framework Documentation
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Documentation for the Maliit Input Method Framework
|
||||
|
||||
%package sdk
|
||||
Summary: Maliit Framework SDK
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: maliit-framework-doc
|
||||
Summary: Maliit Framework SDK
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: maliit-framework-doc
|
||||
|
||||
%description sdk
|
||||
SDK environment for Maliit
|
||||
|
||||
%package tests
|
||||
Summary: Maliit Framework Input Method Tests Package
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: Maliit Framework Input Method Tests Package
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description tests
|
||||
This package contains the files necessary to test
|
||||
the Maliit input method framework
|
||||
|
||||
%package examples
|
||||
Summary: Maliit Framework Input Method Examples
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: Maliit Framework Input Method Examples
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description examples
|
||||
This package contains examples applications for
|
||||
the Maliit input method framework
|
||||
|
||||
%package -n maliit-inputcontext-gtk2
|
||||
Summary: Maliit Input Context Plugin for Gtk+2
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: Maliit Input Context Plugin for Gtk+2
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n maliit-inputcontext-gtk2
|
||||
Gtk+ plugin for basic Gtk+ version 2 toolkit support
|
||||
|
||||
%if 0%{?fedora} != 14
|
||||
%package -n maliit-inputcontext-gtk3
|
||||
Summary: Maliit Input Context Plugin for Gtk+3
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: Maliit Input Context Plugin for Gtk+3
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n maliit-inputcontext-gtk3
|
||||
Gtk+ plugin for basic Gtk+ version 3 toolkit support
|
||||
@@ -137,12 +137,13 @@ Gtk+ plugin for basic Gtk+ version 3 toolkit support
|
||||
|
||||
%build
|
||||
%{_qt4_qmake} -r M_IM_VERSION=%{version} \
|
||||
M_IM_PREFIX=%{_prefix} \
|
||||
M_IM_INSTALL_BIN=%{_bindir} \
|
||||
M_IM_INSTALL_LIBS=%{_libdir} \
|
||||
M_IM_INSTALL_HEADERS=%{_includedir} \
|
||||
M_IM_INSTALL_SCHEMAS=%{_sysconfdir}/gconf/schemas \
|
||||
M_IM_ENABLE_MULTITOUCH=false \
|
||||
M_IM_PREFIX=%{_prefix} \
|
||||
M_IM_INSTALL_BIN=%{_bindir} \
|
||||
M_IM_INSTALL_LIBS=%{_libdir} \
|
||||
M_IM_INSTALL_HEADERS=%{_includedir} \
|
||||
M_IM_INSTALL_SCHEMAS=%{_sysconfdir}/gconf/schemas \
|
||||
M_IM_ENABLE_MULTITOUCH=false \
|
||||
CONFIG+=disable-gtk-cache-update
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@@ -183,8 +184,7 @@ rm -rf %{buildroot}
|
||||
%gconf_schema_upgrade maliit-framework
|
||||
%endif
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n libmaliit-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
|
Reference in New Issue
Block a user