## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: deepin-pdfium Version: 1.0.2 Release: %autorelease Summary: development library for pdf on Deepin # the library is under LGPL-3.0-or-later license # pdfium: Apache-2.0 License: LGPL-3.0-or-later AND Apache-2.0 URL: https://github.com/linuxdeepin/deepin-pdfium Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Gui) BuildRequires: pkgconfig(chardet) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libopenjp2) BuildRequires: libjpeg-turbo-devel Provides: bundled(pdfium) %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains development files for %{name}. %prep %autosetup -p1 %build %qmake_qt5 LIB_INSTALL_DIR=%{_libdir} %make_build %install %make_install INSTALL_ROOT=%{buildroot} %files %license LICENSE %doc README.md %{_libdir}/libdeepin-pdfium.so.1* %files devel %{_includedir}/deepin-pdfium/ %{_libdir}/libdeepin-pdfium.so %{_libdir}/pkgconfig/deepin-pdfium.pc %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat May 04 2024 topazus - 1.0.2-1 - initial import; rhbz#2279043 ## END: Generated by rpmautospec