File liblxqt-mount.spec of Package liblxqt-mount
#
# spec file for package liblxqt-mount
#
# 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-mount
Version: 0.9.0
Release: 0
Summary: Library used to manage removable devices
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Url: http://www.lxde.org
Source: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(lxqt) = %{version}
Obsoletes: liblxqt-mount-qt5 < %{version}
Provides: liblxqt-mount-qt5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
System Library used to manage removable devices
%package -n liblxqtmount0
Summary: Libraries for lxqt-mount
Group: System/Libraries
Provides: liblxqt-mount
%description -n liblxqtmount0
System Development libraries for lxqt-mount
%package devel
Summary: Development files for liblxqt-mount
Group: Development/Libraries/C and C++
Requires: liblxqtmount0 = %{version}
Requires: pkg-config
%description devel
System Development Libraries for liblxqt-mount
%prep
%setup -q -n liblxqt-mount-%{version}
%build
%cmake
%__make %{?_smp_mflags}
%install
%cmake_install
%post -n liblxqtmount0 -p /sbin/ldconfig
%postun -n liblxqtmount0 -p /sbin/ldconfig
%files -n liblxqtmount0
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_libdir}/liblxqtmount.so.0
%{_libdir}/liblxqtmount.so.0.*
%files devel
%defattr(-,root,root)
%{_includedir}/lxqtmount
%{_libdir}/cmake/lxqtmount
%{_libdir}/pkgconfig/lxqtmount.pc
%{_libdir}/liblxqtmount.so
%changelog