diff --git a/README.md b/README.md index 94c8f0b..2321e9e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qt6-qtremoteobjects +Qt6 remote objects component. + diff --git a/qt6-qtremoteobjects.spec b/qt6-qtremoteobjects.spec new file mode 100644 index 0000000..8688e04 --- /dev/null +++ b/qt6-qtremoteobjects.spec @@ -0,0 +1,105 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: qt6-qtremoteobjects +Version: 6.2.3 +Release: 1mamba +Summary: Qt6 remote objects component +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.qt.io/ +Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtremoteobjects-everywhere-src-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtdeclarative-devel +## AUTOBUILDREQ-END + +%description +Qt6 remote objects component. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q -n qtremoteobjects-everywhere-src-%{version} + +%build +%cmake -d build \ + -G Ninja + +cmake --build . + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +DESTDIR="%{buildroot}" cmake --install build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libQt6RemoteObjects.so.* +%{_libdir}/libQt6RemoteObjectsQml.so.* +%dir %{_libdir}/qml/QtRemoteObjects +%{_libdir}/qml/QtRemoteObjects/* +%{_libdir}/metatypes/qt6remoteobjects*.json +%{_libdir}/qt6/libexec/repc +%{_datadir}/qt6/modules/*.json +%doc LICENSE.* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/qt6/QtRemoteObjects +%{_includedir}/qt6/QtRemoteObjects/* +%dir %{_includedir}/qt6/QtRepParser +%{_includedir}/qt6/QtRepParser/* +%dir %{_includedir}/qt6/QtRemoteObjectsQml +%{_includedir}/qt6/QtRemoteObjectsQml/* +%{_libdir}/libQt6RemoteObjects.prl +%{_libdir}/libQt6RemoteObjects.so +%{_libdir}/libQt6RemoteObjectsQml.prl +%{_libdir}/libQt6RemoteObjectsQml.so +%{_libdir}/qt6/mkspecs/features/remoteobjects_repc.prf +%{_libdir}/qt6/mkspecs/features/rep*.pri +%{_libdir}/qt6/mkspecs/features/repparser.prf +%{_libdir}/qt6/mkspecs/modules/qt_lib_remoteobjects*.pri +%{_libdir}/qt6/mkspecs/modules/qt_lib_repparser*.pri +%dir %{_libdir}/cmake/Qt6RemoteObjects +%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtRemoteObjectsTestsConfig.cmake +%{_libdir}/cmake/Qt6RemoteObjects/Qt6RemoteObjects*.cmake +%dir %{_libdir}/cmake/Qt6RepParser +%{_libdir}/cmake/Qt6RepParser/Qt6RepParserConfig*.cmake +%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6declarative_remoteobjects*.cmake +%dir %{_libdir}/cmake/Qt6RemoteObjectsQml +%{_libdir}/cmake/Qt6RemoteObjectsQml/Qt6RemoteObjectsQml*.cmake +%dir %{_libdir}/cmake/Qt6RemoteObjectsTools +%{_libdir}/cmake/Qt6RemoteObjectsTools/Qt6RemoteObjectsTools*.cmake +%dir %{_libdir}/cmake/Qt6RepParser +%{_libdir}/cmake/Qt6RepParser/Qt6RepParser*.cmake + +%changelog +* Sat Feb 26 2022 Silvan Calarco 6.2.3-1mamba +- update to 6.2.3 + +* Sat Nov 06 2021 Silvan Calarco 5.15.2-2mamba +- bump release + +* Sat Nov 06 2021 Silvan Calarco 5.15.2-1mamba +- package created using the webbuild interface