Error creating the package RPM: make:*** No rule to make target 'install'.

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

 



Hi!
I try to create an RPM package and get an error:

[helg@localhost SPECS]$ rpmbuild -ba simplest_studio.spec
.
.
.
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MRg9OD
+ umask 022
+ cd /home/helg/rpmbuild/BUILD
+ '[' /home/helg/rpmbuild/BUILDROOT/simplest-studio-1.1-1.fc32.x86_64 '!=' / ']'
+ rm -rf /home/helg/rpmbuild/BUILDROOT/simplest-studio-1.1-1.fc32.x86_64
++ dirname /home/helg/rpmbuild/BUILDROOT/simplest-studio-1.1-1.fc32.x86_64
+ mkdir -p /home/helg/rpmbuild/BUILDROOT
+ mkdir /home/helg/rpmbuild/BUILDROOT/simplest-studio-1.1-1.fc32.x86_64
+ cd simplest-studio-1.1
+ mkdir -p /home/helg/rpmbuild/BUILDROOT/simplest-studio-1.1-1.fc32.x86_64
+ make install INSTALL_ROOT=/home/helg/rpmbuild/BUILDROOT/simplest-studio-1.1-1.fc32.x86_64
make: *** No rule to make target 'install'.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.MRg9OD (%install)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.MRg9OD (%install)

Here is my source data:

BUILD/
BUILDROOT/
RPMS/
SOURCES/simplest-studio-1.1.tar.gz (contains Makefile in a folder 'app/Makefile')
SPECS/simplest_studio.spec
SRPMS/

# simplest_studio.spec
Summary:    Audio encoder
Name:       simplest-studio
Version:    1.1
Release:    1%{?dist}
License:    GPL-3
Group:      Applications/Audio
URL:        https://github.com/SimplestStudio/%{name}
Source0:    %{name}-%{version}.tar.gz

BuildRequires: gcc

Requires:   qt5-qtbase-common
Requires:   libmediainfo-devel
Requires:   ffmpeg>=4.2

BuildArch:  noarch

%description
Simplest Studio is an application that allows you to convert audio files.

%prep
# nothing here

%setup -q
# nothing here

%build
cd app
make %{?_smp_mflags}

%install
mkdir -p %{buildroot}
make install INSTALL_ROOT=%{buildroot}

%post
# Setup icons
touch -c /usr/share/icons/hicolor
if command -v gtk-update-icon-cache >/dev/null 2>&1; then
  gtk-update-icon-cache -tq /usr/share/icons/hicolor 2>/dev/null ||:
fi

# Setup desktop file
if command -v update-desktop-database >/dev/null 2>&1; then
  update-desktop-database -q /usr/share/applications 2>/dev/null ||:
fi

%postun
# nothing here

%clean
rm -rf %{buildroot}

%files
%doc ABOUT LICENSE
/usr/bin/%{name}

%changelog
* Wed Sep 30 2020 Simplest Studio <depositmail@xxxxxxx>
- Initial package for Fedora.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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