Accepting request 509784 from home:alois:branches:devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/509784 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmaia?expand=0&rev=1
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 18 13:38:40 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Initial package (v0.9.0)
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
#
|
||||
# spec file for package libmaia
|
||||
#
|
||||
# Copyright (c) 2017 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 1
|
||||
Name: libmaia
|
||||
Version: 0.9.0
|
||||
Release: 0
|
||||
Summary: XML-RPC library for Qt
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: https://github.com/wiedi/libmaia
|
||||
Source0: https://github.com/wiedi/libmaia/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: libqt5-qtbase-common-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
libmaia is a XML-RPC library for Qt.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: %{name}%{_sover} = %{version}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%package -n %{name}%{_sover}
|
||||
Summary: XML-RPC library for Qt
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{name}%{_sover}
|
||||
libmaia is a XML-RPC library for Qt.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -e 's|/lib|/%{_lib}|' -e 's|staticlib|sharedlib|' -i maia.pro
|
||||
|
||||
%build
|
||||
export CXXFLAGS="-fPIC"
|
||||
%qmake5 PREFIX=%{_prefix}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%qmake5_install
|
||||
mkdir -pv %{buildroot}%{_libdir}/pkgconfig
|
||||
# creates support file for pkg-config
|
||||
tee %{buildroot}/%{_libdir}/pkgconfig/maia.pc << "EOF"
|
||||
prefix=%{_prefix}
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/%{_lib}
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: maia
|
||||
Description: XML-RPC library for Qt
|
||||
Version: %{version}
|
||||
Libs: -L${libdir} -lmaia
|
||||
Cflags: -I${includedir}/maia
|
||||
EOF
|
||||
|
||||
%post -n %{name}%{_sover} -p /sbin/ldconfig
|
||||
%postun -n %{name}%{_sover} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{name}%{_sover}
|
||||
%defattr(-,root,root)
|
||||
%doc Changelog LICENSE README.md
|
||||
%{_libdir}/%{name}.so.%{_sover}*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc Changelog LICENSE README.md
|
||||
%dir %{_includedir}/maia
|
||||
%{_includedir}/maia/maiaObject.h
|
||||
%{_includedir}/maia/maiaXmlRpcClient.h
|
||||
%{_includedir}/maia/maiaXmlRpcServer.h
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/maia.pc
|
||||
|
||||
%changelog
|
||||
@@ -0,0 +1,24 @@
|
||||
*.changes merge=merge-changes
|
||||
*.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
|
||||
*.tar 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
|
||||
@@ -0,0 +1,4 @@
|
||||
*.obscpio
|
||||
*.osc
|
||||
_build.*
|
||||
.pbuild
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:21fd1f09b187c0500237b910a59c958b9aa5e54bc732184c7fa33fbfd1028701
|
||||
size 10591
|
||||
Reference in New Issue
Block a user