Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[usb-moded-qt5] Initial commit. JB#29035
- Loading branch information
0 parents
commit 0b5b92c
Showing
8 changed files
with
723 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
libusb-moded-qt.pro.user | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
TEMPLATE = subdirs | ||
CONFIG += ordered | ||
SUBDIRS += src | ||
OTHER_FILES += rpm/libusb-moded-qt5.spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.