mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6efab71cf6 | |||
| c746995731 | |||
| 92f4b84035 | |||
| 5d6a79e826 | |||
| f9a812f9da | |||
| 4c0f1474b2 |
@@ -1,20 +1,17 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/gsettings-qt
|
||||
%global commit d5e002d7e0bce46c315bcc99a44a8bd51f49f488
|
||||
%forgemeta
|
||||
|
||||
Name: gsettings-qt-lomiri
|
||||
Version: 0.2
|
||||
Release: %autorelease
|
||||
Version: 1.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: QML Bindings for GSettings
|
||||
License: LGPL-3.0
|
||||
License: LGPL-3.0-or-later
|
||||
URL: https://gitlab.com/ubports/development/core/gsettings-qt
|
||||
Source0: %{url}/-/archive/%commit/gsettings-qt-%commit.tar.gz
|
||||
Source0: %{url}/-/archive/v%{version}/gsettings-qt-v%{version}.tar.gz?ref_type=tags
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtdeclarative
|
||||
BuildRequires: qt5-qtdeclarative-devel
|
||||
BuildRequires: cmake(QmlPlugins)
|
||||
|
||||
%description
|
||||
gsettings-qt provides Qt binding to GSettings, a high-level API
|
||||
@@ -22,23 +19,19 @@ for application settings. This library can be used to access GSettings from Qt
|
||||
applications.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{evr}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
%pkg_devel_files
|
||||
|
||||
%prep
|
||||
%autosetup -n gsettings-qt-%commit
|
||||
%autosetup -n gsettings-qt-v%{version}
|
||||
|
||||
%build
|
||||
%qmake_qt5
|
||||
|
||||
%make_build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
%cmake_install INSTALL_ROOT=%{buildroot}
|
||||
# Files underneath are part of coreutils and cpptest packages
|
||||
rm -rf %{buildroot}/usr/tests
|
||||
|
||||
@@ -50,12 +43,5 @@ rm -rf %{buildroot}/usr/tests
|
||||
%{_libdir}/qt5/qml/GSettings.1.0/plugins.qmltypes
|
||||
%{_libdir}/qt5/qml/GSettings.1.0/qmldir
|
||||
|
||||
%files devel
|
||||
%dir %{_includedir}/qt5/QGSettings
|
||||
%{_includedir}/qt5/QGSettings/QGSettings
|
||||
%{_includedir}/qt5/QGSettings/qgsettings.h
|
||||
%{_libdir}/libgsettings-qt.so
|
||||
%{_libdir}/pkgconfig/gsettings-qt.pc
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gitlab_tag("10070038"));
|
||||
Reference in New Issue
Block a user