| 1 |
Name: dbusextended-qt5 |
| 2 |
|
| 3 |
Summary: Extended DBus for Qt |
| 4 |
Version: 0.0.2 |
| 5 |
Release: 1 |
| 6 |
Group: Development/Libraries |
| 7 |
License: LGPLv2.1 |
| 8 |
URL: https://github.com/nemomobile/qtdbusextended |
| 9 |
Source0: %{name}-%{version}.tar.bz2 |
| 10 |
Requires(post): /sbin/ldconfig |
| 11 |
Requires(postun): /sbin/ldconfig |
| 12 |
BuildRequires: pkgconfig(Qt5Core) |
| 13 |
BuildRequires: pkgconfig(Qt5DBus) |
| 14 |
|
| 15 |
%description |
| 16 |
%{summary}. |
| 17 |
|
| 18 |
%package devel |
| 19 |
Summary: Development files for %{name} |
| 20 |
Requires: %{name} = %{version}-%{release} |
| 21 |
|
| 22 |
%description devel |
| 23 |
Development files for %{name}. |
| 24 |
|
| 25 |
%prep |
| 26 |
%setup -q -n %{name}-%{version} |
| 27 |
|
| 28 |
%build |
| 29 |
|
| 30 |
%qmake5 |
| 31 |
|
| 32 |
make %{?_smp_mflags} |
| 33 |
|
| 34 |
%install |
| 35 |
rm -rf %{buildroot} |
| 36 |
|
| 37 |
%qmake5_install |
| 38 |
|
| 39 |
%post -p /sbin/ldconfig |
| 40 |
|
| 41 |
%postun -p /sbin/ldconfig |
| 42 |
|
| 43 |
%files |
| 44 |
%defattr(-,root,root,-) |
| 45 |
%{_libdir}/lib*.so.* |
| 46 |
|
| 47 |
%files devel |
| 48 |
%defattr(-,root,root,-) |
| 49 |
%{_datarootdir}/qt5/mkspecs/features/%{name}.prf |
| 50 |
%{_includedir}/qt5/DBusExtended/DBusExtended |
| 51 |
%{_includedir}/qt5/DBusExtended/DBusExtendedAbstractInterface |
| 52 |
%{_includedir}/qt5/DBusExtended/dbusextended.h |
| 53 |
%{_includedir}/qt5/DBusExtended/dbusextendedabstractinterface.h |
| 54 |
%{_libdir}/lib*.so |
| 55 |
%{_libdir}/pkgconfig/%{name}.pc |