SHA256
1
0
forked from pool/liblxqt
liblxqt/liblxqt.spec
Michael Vetter 906e62f27b - Update to 0.11.0:
* Bump version ot 0.11.0 (#105)
  * Settings: Make use of reverse_iterator conditional
  * Application: Add <cerrno> include
  * Settings: Add "homemade" XDG_CONFIG_DIRS support
  * Settings: unify duplicated code
  * Add README.md
  * translations: Change default translations repository
  * Update DBus Notify method annotation name
  * Fix lupdate warning missing Q_OBJECT macro
  * Replaces deprecated QStyleOptionViewItemV4
  * Don't lock the screen when it's already locked.
  * lxqtscreensaver: Makes it a opaque pointer class
  * GridLayout: Store current animation flag
  * lxqtgridlayout: Move private class definition
  * HtmlDelegate: Take layoutDirection into account
  * GridLayout: Take layoutDirection into account
  * application: Correct signal handling & clean-up (#72)
  * lxqtpower: Removes unused stuff
  * SingleApplication: Only create an DBus adaptor when needed
  * NotificationPrivate: Fixes programming typo
  * Don't set icon theme name
  * configdialog: Update icons in ThemeChanged event
  * lxqtpower: Add suspend and hibernate to ConsoleKit2 provider
  * LXQtTranslateTs.cmake: Enable PULL_TRANSLATIONS by default
  * LXQtTranslateTs.cmake: Use/update template in remote repo
  * .gitignore: Cleanup
  * build: Use external translations
  * ts-files removal (#90)
  * GridLayout: Fix memory leak

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/liblxqt?expand=0&rev=4
2016-09-24 20:12:20 +00:00

94 lines
2.6 KiB
RPMSpec

#
# spec file for package liblxqt
#
# 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: liblxqt
Version: 0.11.0
Release: 0
Summary: Core utility library for LXQt
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Url: http://www.lxqt.org
Source: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
Source1: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: cmake >= 3.0.2
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt5Xdg) >= 1.3.0
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xscrnsaver)
Obsoletes: liblxqt-qt5 < %{version}
Provides: liblxqt-qt5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Core utility library for all lxqt components
%package -n liblxqt0
Summary: Libraries for lxqt
Group: System/Libraries
Provides: liblxqt
Recommends: %{name}-lang
%description -n liblxqt0
Development libraries for lxqt
%package devel
Summary: Devel files for liblxqt
Group: Development/Libraries/C and C++
Requires: liblxqt0 = %{version}
Requires: pkgconfig
Requires: pkgconfig(Qt5Xdg)
%description devel
LXQt libraries for development
%prep
%setup -q -n liblxqt-%{version}
%build
%cmake -DPULL_TRANSLATIONS=No
make %{?_smp_mflags}
%install
%cmake_install
%post -n liblxqt0 -p /sbin/ldconfig
%postun -n liblxqt0 -p /sbin/ldconfig
%files -n liblxqt0
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_libdir}/%{name}.so.0
%{_libdir}/%{name}.so.0.*
%files devel
%defattr (-,root,root)
%{_includedir}/lxqt/
%{_datadir}/cmake/lxqt/
%{_libdir}/pkgconfig/lxqt.pc
%{_libdir}/%{name}.so
%changelog