Search
SailfishOS Open Build Service
>
Projects
>
c
:
telepathy
:
devel
:
nonsense
>
qxmpp
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
qxmpp.spec
@@ -0,0 +1,56 @@ +Name: qxmpp +Version: 0.8.2 +Release: 1 +Summary: Cross-platform C++ XMPP client and server library + +Group: System/Libraries +License: LGPLv2+ +URL: https://github.com/qxmpp-project/qxmpp +Source0: %{name}-%{version}.tar.gz + +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Network) +BuildRequires: pkgconfig(Qt5Xml) + +%description +Cross-platform C++ XMPP client and server library + +%package devel +Summary: Development package for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the files necessary to build Qt applications +using qxmpp library. + +%prep +%setup -q + +%build +%qmake5 +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +%qmake5_install +#make install DESTDIR=$RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{_libdir}/lib*.so* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/qxmpp/* +%{_libdir}/pkgconfig/*.pc + +%changelog