Re: How to build rpm Krita from krita.spec ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Basically, you could build this spec file via 

rpmbuild --undefine=_disable_source_fetch -ba /path/to/specfile

Cătălin George Feștilă <mythcat@xxxxxxxxxxxxxxxxx> 于 2021年1月23日周六 下午10:21写道:
I used this tutorial to build the Krita from sources: https://docs.krita.org/en/untranslatable_pages/building_krita.html#preparing-your-development-environment.

This is the result of the rpmlint tool:

rpmlint krita.spec ../SRPMS/krita* ../RPMS/*/krita*
(none): E: no installed packages by name ../SRPMS/krita*
(none): E: no installed packages by name ../RPMS/*/krita*
0 packages and 1 specfiles checked; 0 errors, 0 warnings.

the  krita.spec has this content:

Name:   krita
Version:    4.2.2
Release:    1%{?dist}
Summary:    Krita software version 4.2.2

License:        GPLv3+
URL:            https://krita.org/
Source0:        https://download.kde.org/stable/krita/4.4.2/krita-4.4.2.tar.gz

BuildRequires:  bash
Requires:       info

%description
Krita software version 4.2.2


%prep
%autosetup


%build
cmake ../krita \
        -DCMAKE_INSTALL_PREFIX=$HOME/kritadev/install  \
        -DCMAKE_BUILD_TYPE=Debug \
        -DKRITA_DEVS=ON
%configure
%make_build
make
make install

%install
rm -rf $RPM_BUILD_ROOT
%make_install
../install/bin/krita

%files
%license add-license-file-here
%doc add-docs-here



%changelog
* Sat Jan 23 2021 catafest <catafest@xxxxxxxxx>

Any idea what is wrong ?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux