2014-10-28 10:09:34 +01:00
|
|
|
#
|
2015-01-31 18:25:49 +01:00
|
|
|
# spec file for package libqt5xdg
|
2014-10-28 10:09:34 +01:00
|
|
|
#
|
2015-01-31 18:25:49 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-10-28 10:09:34 +01:00
|
|
|
#
|
|
|
|
# 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: libqt5xdg
|
2015-02-09 17:29:04 +01:00
|
|
|
Version: 1.1.0
|
2014-10-28 10:09:34 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Qt implementation of xdg specs for lxqt
|
2014-10-28 16:19:21 +01:00
|
|
|
License: GPL-3.0
|
2014-10-28 10:09:34 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: https://lxqt.org
|
2015-02-09 17:29:04 +01:00
|
|
|
Source: http://downloads.lxqt.org/libqtxdg/%{version}/libqtxdg-%{version}.tar.xz
|
2014-10-28 10:09:34 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: file-devel
|
|
|
|
BuildRequires: gcc-c++
|
2015-01-31 18:25:49 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
2014-10-28 10:09:34 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Qt implementation of freedesktop.org xdg specs for lxqt
|
|
|
|
|
|
|
|
%package -n libQt5Xdg1
|
|
|
|
Summary: Libraries for qtxdg
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: libqtxdg
|
|
|
|
|
|
|
|
%description -n libQt5Xdg1
|
|
|
|
qtxdg libraries for development
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel files for libqtxdg
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libQt5Xdg1 = %{version}
|
|
|
|
Requires: pkg-config
|
2015-01-31 18:25:49 +01:00
|
|
|
Requires: pkgconfig(Qt5UiTools)
|
2014-10-28 10:09:34 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
qtxdg libraries for development
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n libqtxdg-%{version}
|
|
|
|
|
|
|
|
%build
|
2015-02-23 20:46:43 +01:00
|
|
|
%cmake
|
2014-10-28 10:09:34 +01:00
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2015-02-23 20:46:43 +01:00
|
|
|
%cmake_install
|
2014-10-28 10:09:34 +01:00
|
|
|
%fdupes -s %{buildroot}/%{_datadir}/locale
|
|
|
|
|
|
|
|
%post -n libQt5Xdg1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libQt5Xdg1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libQt5Xdg1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
%{_libdir}/libQt5Xdg.so.1
|
|
|
|
%{_libdir}/libQt5Xdg.so.1.0.0
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/cmake/qt5xdg
|
|
|
|
%{_includedir}/qt5xdg
|
|
|
|
%{_libdir}/pkgconfig/Qt5Xdg.pc
|
|
|
|
%{_libdir}/libQt5Xdg.so
|
|
|
|
|
|
|
|
%changelog
|