Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
xneur
xneur.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xneur.spec of Package xneur
# # spec file for package xneur # # Copyright (c) 2016 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 # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define sover 20 Name: xneur Version: 0.20.0 Release: 0 Summary: X Neural Switcher License: GPL-2.0+ Group: System/X11/Utilities Url: http://xneur.ru/ Source: https://github.com/AndrewCrewKuznetsov/xneur-devel/raw/master/dists/%{version}/%{name}_%{version}.orig.tar.gz # PATCH-FIX-OPENSUSE xneur-plugins-avoid-sover.patch sor.alexei@meowr.ru -- Avoid sover for xneur plugins. Patch0: xneur-plugins-avoid-sover.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes BuildRequires: intltool BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: xosd-devel BuildRequires: pkgconfig(enchant) >= 1.0 BuildRequires: pkgconfig(gstreamer-1.0) >= 1.2.4 BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libnotify) >= 0.4.0 BuildRequires: pkgconfig(libpcre) >= 5.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xtst) Recommends: %{name}-gui Recommends: %{name}-lang Recommends: gxneur %description X Neural Switcher (XNeur). Automatical switcher of keyboard layout. %lang_package %package -n libxneur%{sover} Summary: XNeur Shared Library Group: System/Libraries %description -n libxneur%{sover} Shared libraries for the package XNeur. %package -n libxneur-devel Summary: Include Files and Libraries Group: Development/Libraries/C and C++ Requires: libxneur%{sover} = %{version} Requires: pkgconfig Requires: pkgconfig(enchant) # xneur-devel was last used in openSUSE 11.2. Provides: xneur-devel = %{version} Obsoletes: xneur-devel < %{version} %description -n libxneur-devel Development files for the package XNeur. %prep %setup -q %patch0 -p1 # First time ever -Werror is causing problems. sed -i '/^DEFAULT_CFLAGS=/s/-Werror //' configure.ac %build autoreconf -fi %configure \ --disable-static \ --with-sound=gstreamer \ --with-gtk=gtk3 \ --with-spell=enchant make %{?_smp_mflags} V=1 %install %make_install rm -rf %{buildroot}%{_datadir}/icons/hicolor/ find %{buildroot} -type f -name "*.la" -delete -print %fdupes -s %{buildroot}%{_datadir}/ %find_lang %{name} %post -n libxneur%{sover} -p /sbin/ldconfig %postun -n libxneur%{sover} -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %dir %{_sysconfdir}/%{name}/ # Upstream updates a config file. So we must replace it. %config %{_sysconfdir}/%{name}/* %{_bindir}/%{name} %{_libdir}/%{name}/ %{_datadir}/%{name}/ %{_mandir}/man?/%{name}*.?%{?ext_man} %files lang -f %{name}.lang %defattr(-,root,root) %files -n libxneur%{sover} %defattr(-,root,root) %{_libdir}/libxn*.so.%{sover}* %files -n libxneur-devel %defattr(-,root,root) %{_includedir}/%{name}/ %{_libdir}/libxn*.so %{_libdir}/pkgconfig/*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor