Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RPM spec file #2

Merged
merged 1 commit into from
Sep 19, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
42 changes: 42 additions & 0 deletions catimg.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Name: catimg
Version: 2.0
Release: 1%{?dist}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this for ?
I found it at https://fedoraproject.org/wiki/Packaging:DistTag

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. On my system (Fedora 22) this adds .fc22 to the version like this:

catimg-2.0-1.fc22

Summary: Print images in a terminal with 256 colors support


Group: Applications/Multimedia
License: Unknown

URL: https://github.com/posva/catimg
Source0: https://github.com/posva/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz

%description
Print images in a terminal with 256 colors support


BuildRequires: cmake
Requires:


%prep
%setup -q


%build
%cmake .
make %{?_smp_mflags}


%install
%make_install


%files
/usr/bin/catimg*
%doc README.md



%changelog
* Fri Sep 18 2015 Mike Gerber <mike@sprachgewalt.de> - 2.0-1
- Initial spec file