Sisyphus repositório
Última atualização: 18 setembro 2020 | SRPMs: 17685 | Visitas: 19248781
en ru br
ALT Linux repositórios
S:0.6.1-alt1

Group :: Sistema/Bibliotecas
RPM: libquotient

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname qmatrixclient

Name: libquotient
Version: 0.5.2
Release: alt1

Summary: A Qt5 library to write cross-platfrom clients for Matrix

License: LGPLv2.1
Group: System/Libraries
Url: https://github.com/quotient-im/libQuotient

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/quotient-im/libQuotient/archive/%version.tar.gz

Source: %name-%version.tar

BuildRequires(pre): rpm-build-licenses rpm-macros-qt5 rpm-macros-cmake

#BuildRequires(pre): rpm-build-compat >= 2.1.5

#BuildRequires(pre): rpm-build-intro >= 2.1.5
# use no more than system_memory/3000 build procs (see https://bugzilla.altlinux.org/show_bug.cgi?id=35112)
#_tune_parallel_build_by_procsize 3000

BuildRequires: cmake gcc-c++ libstdc++-devel

BuildRequires: qt5-base-devel libqt5-gui libqt5-network qt5-multimedia-devel

Provides: libqmatrixclient = %version
Conflicts: libqmatrixclient < %version

%description
libQuotient is a Qt5-based library to make IM clients for the Matrix protocol.
It is the backbone of Quaternion, Spectral and some other projects.

%package devel
Summary: Header files for %name
Group: Development/Other
Requires: %name = %EVR

Provides: libqmatrixclient-devel = %version
Conflicts: libqmatrixclient-devel < %version

%description devel
Header files for %EVR.

%prep
%setup
%__subst "s|add_library(QMatrixClient|add_library(QMatrixClient SHARED|" CMakeLists.txt

%build
%cmake_insource -DCMAKE_INSTALL_INCLUDEDIR=include/qmatrixclient \
               -DQMATRIXCLIENT_INSTALL_EXAMPLE=OFF
%make_build

%install
%makeinstall_std
rm -rfv %buildroot%_bindir/qmc-example

%files
%doc README.md CONTRIBUTING.md
%_libdir/lib*.so.*

%files devel
%_libdir/lib*.so
%_includedir/%oname/
%_libdir/cmake/QMatrixClient/
%_pkgconfigdir/QMatrixClient.pc
#_bindir/qmc-example

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009