mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 17:32:18 +00:00
9bbe91be03
* fix(lint): prismlauncher* fluent-icon-theme * fix(lint): fix lints for 6 packages (#578) * fix(lint): fix rpmlint lints for youki package * fix(lint): fix rpmlint lints for xdg-desktop-portal-pantheon * fix(lint): fix rpmlint lints for wingpanel package * fix(lint): fix rpmlint lints for wingpanel-indicator-sound package * fix(lint): fix rpmlint lints for wingpanel-indicator-session package * fix(lint): fix rpmlint lints for wingpanel-indicator-power package * fix(lint): * * fix random typos * feat: revert anda/desktops * fix: armcord-bin authy blahaj * fix: ... anki authy discord~ aya~sound groovy kotlin libappimage qt5-pim * fix: ... qdjango moby-buildx nim-nightly nim system76-scheduler unity-scope-home kondo pop-launcher fuc graalvm vala-lint-nightly * fix: armcord-bin authy blahaj groovy * fix: ... libappimage moby0buildx nim-nightly nim system76-scheduler subatomic * fix blahaj * fix: kondo * fix: libappimage moby-buildx system76-scheduler nim-nightly * fix: subatomic * fix: subatomic * fix: nim * Update anki.spec Signed-off-by: madomado <wboy111@outlook.com> * fix: libappimage nim-nightly * fix: moby-buildx subatomic * fix: moby-buildx subatomic --------- Signed-off-by: madomado <wboy111@outlook.com> Co-authored-by: HTGAzureX1212 <39023054+HTG-YT@users.noreply.github.com>
74 lines
1.9 KiB
RPMSpec
74 lines
1.9 KiB
RPMSpec
Name: qdjango
|
|
Version: 0.6.2
|
|
Release: %autorelease
|
|
Summary: A web framework written in C++ and built on top of the Qt library
|
|
License: LGPLv2
|
|
URL: https://github.com/jlaine/qdjango
|
|
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
|
Patch0: https://sources.debian.org/data/main/q/qdjango/0.6.2-3.3/debian/patches/disable_hash_tests.patch
|
|
Patch1: https://sources.debian.org/data/main/q/qdjango/0.6.2-3.3/debian/patches/fix_gcc6_ftbfs.patch
|
|
|
|
BuildRequires: qt5-rpm-macros
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: doxygen
|
|
BuildRequires: fdupes
|
|
|
|
%description
|
|
QDjango is a web framework written in C++ and built on top of the Qt library.
|
|
Where possible, it tries to follow django's API, hence its name.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%package doc
|
|
Summary: Documenation for %{name}
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
The %{name}-doc contains documentation for %{name}.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%qmake_qt5 PREFIX=%{_exec_prefix} LIBDIR=%{_lib}
|
|
%make_build
|
|
%make_build docs
|
|
|
|
%install
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
# Aren't needed and already ran plus contain rpaths in every single file underneath
|
|
rm -rf %{buildroot}%{_prefix}/tests
|
|
%fdupes %buildroot/%_docdir/%name/html/search/
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE.LGPL
|
|
%{_libdir}/libqdjango-db.so.*
|
|
%{_libdir}/libqdjango-http.so.*
|
|
|
|
%files devel
|
|
%dir %{_includedir}/qdjango
|
|
%dir %{_includedir}/qdjango/db
|
|
%{_includedir}/qdjango/db/*.h
|
|
%dir %{_includedir}/qdjango/http
|
|
%{_includedir}/qdjango/http/*.h
|
|
%{_libdir}/libqdjango-db.so
|
|
%{_libdir}/libqdjango-http.so
|
|
%{_libdir}/pkgconfig/qdjango-db.pc
|
|
%{_libdir}/pkgconfig/qdjango-http.pc
|
|
|
|
%files doc
|
|
%dir %{_docdir}/qdjango
|
|
%{_docdir}/qdjango/html/
|
|
|
|
%changelog
|
|
%autochangelog
|