1
0
Stephan Kulow 2015-02-16 20:12:16 +00:00 committed by Git OBS Bridge
commit 101d88e1b3
6 changed files with 275 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,14 @@
Index: lxqt-globalkeys-0.9.0/config/lxqt-config-globalkeyshortcuts.desktop.in
===================================================================
--- lxqt-globalkeys-0.9.0.orig/config/lxqt-config-globalkeyshortcuts.desktop.in
+++ lxqt-globalkeys-0.9.0/config/lxqt-config-globalkeyshortcuts.desktop.in
@@ -5,7 +5,7 @@ GenericName=Keyboard Shortcut Settings
Comment=Configure shortcut keys in LXQt
Exec=lxqt-config-globalkeyshortcuts
Icon=preferences-desktop-keyboard
-Categories=Settings;DesktopSettings;Qt;LXQt;
-OnlyShowIn=LXQt;LXDE;
+Categories=Settings;DesktopSettings;Qt;X-LXQt;
+OnlyShowIn=X-LXQt;LXDE;
#TRANSLATIONS_DIR=translations

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45292e125e8cc2f18afa7d358366ade670c8d73871caf04f4536a4be985d9f12
size 50692

88
lxqt-globalkeys.changes Normal file
View File

@ -0,0 +1,88 @@
-------------------------------------------------------------------
Mon Feb 9 19:33:20 UTC 2015 - sfalken@opensuse.org
- New upstream version 0.9.0
- Added -lang subpackage
- Added Patch
+ fix_desktop_categories.patch
- Dropped -qt5 package naming, as none of the internal library
names use -qt5 in 0.9.0. Added Obsoletes and Conflicts, in the
odd chance that lxqt-globalkeys-0.7.0 and lxqt-globalkeys >=0.8.0
are installed on the same system. Which should never happen.
lxqt-0.9.0 is not likely to be pushed to 13.2, and liblxqt can no
longer be built against Qt4.
-------------------------------------------------------------------
Tue Feb 3 11:16:45 UTC 2015 - dvaleev@suse.com
- aarch64 ppc64 ppc64le have /usr/lib64 too
-------------------------------------------------------------------
Sun Jan 25 23:31:22 UTC 2015 - sfalken@opensuse.org
- Added conditionals to enable Fedora builds
-------------------------------------------------------------------
Sat Oct 25 11:16:57 UTC 2014 - andrea@opensuse.org
- new upstream version 0.8.0
-------------------------------------------------------------------
Tue May 13 18:34:01 UTC 2014 - andrea@opensuse.org
- spec file working - split out libraries subpackages
-------------------------------------------------------------------
Tue May 13 16:14:49 UTC 2014 - sfalken@opensuse.org
- Specfile Cleanup
-------------------------------------------------------------------
Mon May 12 15:42:42 UTC 2014 - sfalken@opensuse.org
- Removed fedora specfile, split into subproject
Del: lxqt-globalkeys-Fedora_20.spec
-------------------------------------------------------------------
Sat May 10 20:26:03 UTC 2014 - sfalken@opensuse.org
- Ran spec-cleaner on openSUSE specfile
-------------------------------------------------------------------
Fri May 9 23:14:46 UTC 2014 - sfalken@opensuse.org
- Added specfile for Fedora_20
Add: lxqt-globalkeys-Fedora_20.spec
-------------------------------------------------------------------
Fri May 9 16:13:01 UTC 2014 - sfalken@opensuse.org
- Added tarball for new stable release
Add: lxqt-globalkeys-0.7.0.tar.xz
Del: _service
-------------------------------------------------------------------
Wed Apr 2 14:37:47 UTC 2014 - sfalken@opensuse.org
- Removed direct cmake calls, in favour of %cmake and %cmake_install
-------------------------------------------------------------------
Wed Apr 2 04:37:01 UTC 2014 - sfalken@opensuse.org
- Removed patch, as it didn't accomplish the desired effect
Deleted: 0001_lxqt_globalkey_desktop.patch
-------------------------------------------------------------------
Wed Apr 2 04:20:15 UTC 2014 - sfalken@opensuse.org
- Added patch to correct .desktop file
Add: 0001_lxqt_globalkey_desktop.patch
-------------------------------------------------------------------
Wed Apr 2 03:36:54 UTC 2014 - sfalken@opensuse.org
- Initial Source Upload
Add: _service
Add: lxqt-globalkeys.spec
Add: lxqt-globalkeys.changes

146
lxqt-globalkeys.spec Normal file
View File

@ -0,0 +1,146 @@
#
# spec file for package lxqt-globalkeys
#
# Copyright (c) 2015 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/
#
Name: lxqt-globalkeys
Version: 0.9.0
Release: 0
Summary: Global keyboard shortcuts registration
License: LGPL-2.1+
Group: System/GUI/LXDE-Qt
Url: http://www.lxde.org
Source: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE fix_desktop_categories.patch sfalken@opensuse.org -- Fix desktop categories
Patch0: fix_desktop_categories.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: kwindowsystem-devel
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(lxqt) >= 0.9.0
Requires(pre): desktop-file-utils
Requires(post): desktop-file-utils
Obsoletes: lxqt-globalkeys-qt5 < %{version}
Provides: lxqt-globalkeys-qt5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Daemon and library for global keyboard shortcuts registration
%package devel
Summary: Development files for lxqt-globalkeys
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: liblxqt-globalkeys-ui0 = %{version}
Requires: liblxqt-globalkeys0 = %{version}
Requires: pkg-config
%description devel
Development files for lxqt-globalkeys including headers and libraries
%package -n liblxqt-globalkeys0
Summary: Lxqt-globalkeys libraries
Group: System/Libraries
%description -n liblxqt-globalkeys0
lxqt-globalkeys main system library
%package -n liblxqt-globalkeys-ui0
Summary: UI lxqt-globalkeys libraries
Group: System/Libraries
%description -n liblxqt-globalkeys-ui0
UI system libraries for lxqt-globalkeys
%package -n %{name}-lang
Summary: Translations for lxqt-globalkeys
Group: System/Libraries
Requires: %{name} = %{version}
%description -n %{name}-lang
Translation files for lxqt-globalkeys
%prep
%setup -q
%patch0 -p1
%build
mkdir build
pushd build
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
-DLIB_INSTALL_DIR:PATH=%{_libdir} \
%ifarch x86_64 aarch64 ppc64 ppc64le
-DLIB_SUFFIX=64 \
%endif
..
%__make %{?_smp_mflags}
popd
%install
pushd build
make DESTDIR=$RPM_BUILD_ROOT install
popd
%fdupes -s %{buildroot}
%post
%desktop_database_post
%postun
%desktop_database_postun
%post -n liblxqt-globalkeys0 -p /sbin/ldconfig
%postun -n liblxqt-globalkeys0 -p /sbin/ldconfig
%post -n liblxqt-globalkeys-ui0 -p /sbin/ldconfig
%postun -n liblxqt-globalkeys-ui0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_bindir}/lxqt-globalkeysd
%{_bindir}/lxqt-config-globalkeyshortcuts
%{_datadir}/applications/lxqt-config-globalkeyshortcuts.desktop
%files devel
%defattr (-,root,root)
%{_includedir}/%{name}
%{_includedir}/lxqt-globalkeys-ui
%{_libdir}/pkgconfig/*.pc
%{_libdir}/liblxqt-globalkeys.so
%{_libdir}/liblxqt-globalkeys-ui.so
%files -n liblxqt-globalkeys0
%defattr(-,root,root)
%dir %{_libdir}/cmake/lxqt-globalkeys
%{_libdir}/liblxqt-globalkeys.so.*
%{_libdir}/cmake/lxqt-globalkeys/*
%files -n liblxqt-globalkeys-ui0
%defattr(-,root,root)
%dir %{_libdir}/cmake/lxqt-globalkeys-ui
%{_libdir}/liblxqt-globalkeys-ui.so.*
%{_libdir}/cmake/lxqt-globalkeys-ui/*
%files -n %{name}-lang
%defattr(-,root,root)
%{_datadir}/lxqt/translations
%changelog