deb packaging files (tested on debian unstable) and rpm spec file

This commit is contained in:
Florent Peterschmitt
2013-06-05 11:28:53 +02:00
parent 6082ab8778
commit b89f5da2c7
6 changed files with 67 additions and 0 deletions

41
profanity.spec Normal file
View File

@@ -0,0 +1,41 @@
Name: profanity
Version: 0.2.1
Release: 2%{?dist}
Summary: A console based XMPP client
Group: Application/System
License: GPL
URL: http://www.profanity.im/
Source0: %{name}-%{version}.tar.gz
BuildRequires: libstrophe-devel
BuildRequires: libcurl-devel
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: glib2-devel
BuildRequires: expat-devel
Requires: libstrophe
Requires: libcurl
Requires: ncurses-libs
Requires: openssl
Requires: glib2
Requires: expat
%description
Profanity is a console based XMPP client written in C using ncurses and libstrophe, inspired by Irssi.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%files
%{_bindir}/profanity
%doc %{_datadir}/man/man1/profanity.1.gz
%changelog