Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[usb-moded-qt5] Initial commit. JB#29035
  • Loading branch information
monich committed May 27, 2015
0 parents commit 0b5b92c
Show file tree
Hide file tree
Showing 8 changed files with 723 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
libusb-moded-qt.pro.user
build
4 changes: 4 additions & 0 deletions libusb-moded-qt.pro
@@ -0,0 +1,4 @@
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += src
OTHER_FILES += rpm/libusb-moded-qt5.spec
55 changes: 55 additions & 0 deletions rpm/libusb-moded-qt5.spec
@@ -0,0 +1,55 @@
Name: libusb-moded-qt5

Summary: A library of Qt5 bindings for usb_moded
Version: 1.0
Release: 1
Group: System/Libraries
License: BSD
URL: https://github.com/nemomobile/libusb-moded-qt5
Source0: %{name}-%{version}.tar.bz2

Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: usb-moded > 0.82
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(usb_moded)

%{!?qtc_qmake5:%define qtc_qmake5 %qmake5}
%{!?qtc_make:%define qtc_make make}

%description
This package contains Qt bindings for usb_moded

%package devel
Summary: Development files for usb_moded Qt bindings
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}

%description devel
This package contains the development header files for usb_moded Qt bindings.

%prep
%setup -q -n %{name}-%{version}

%build
%qtc_qmake5
%qtc_make %{?_smp_mflags}

%install
rm -rf %{buildroot}
%qmake5_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_libdir}/%{name}.so*

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/usb-moded-qt5.pc
%{_includedir}/usb-moded-qt5/*.h

0 comments on commit 0b5b92c

Please sign in to comment.