Need help to build gimp-layer-via-copy-cut package

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

 



Hello team,

I just hit an issue trying to build a gimp plugins which use python.

http://koji.fedoraproject.org/koji/taskinfo?taskID=13757854

You can take a look at the spec below so you can check the mistake:

-------------------------------

%global    addon layer-via-copy-cut

Name:        gimp-%{addon}
Version:    1.6
Release:    1%{?dist}
Summary:    Layer via copy/cut plug-in for GIMP
License:    GPLv3+
URL:        http://some-gimp-plugins.com/contents/en/
Source0:    http://registry.gimp.org/files/%{addon}.zip
Source1:    %{name}.metainfo.xml
%if 0%{?fedora} >= 21 
BuildRequires:    libappstream-glib
%endif
Requires:    gimp >= 2.6.0
BuildArch:    noarch

%description
Copy and move the selected area to a new layer in the same position.

%prep
%autosetup -c  %{name}

%build
# nothing to build

%install
install -d %{buildroot}%{_datadir}/gimp/2.0/plug-ins/
install -m 644 -p %{addon}.py -t %{buildroot}%{_datadir}/gimp/2.0/plug-ins/


%if 0%{?fedora} >= 21 
# Add AppStream metadata
install -Dm 0644 -p %{SOURCE1} \
    %{buildroot}%{_datadir}/appdata/%{name}.metainfo.xml

%check
appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/%{name}.metainfo.xml
%endif

# %%files
%doc info changelog
%{_datadir}/gimp/2.0/plug-ins/%{addon}.py
%if 0%{?fedora} >= 21 
#AppStream metadata
%{_datadir}/appdata/%{name}.metainfo.xml
%endif

%changelog
* Thu Apr 21 2016 Luya Tshimbalanga <luya@xxxxxxxxxxxxxxxxx> - 1.6-1
- Initial build


The feedback received from Fedora Design Suite video pushed to look at
the missing packages hence the increasing activity  in beta stage.
Thanks in advance.

-- 
Luya Tshimbalanga
Graphic & Web Designer
E: luya@xxxxxxxxxxxxxxxxx
W: http://www.coolest-storm.net
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux