1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

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

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
profanity (0.2.1) UNRELEASED; urgency=low
* Initial release. (Closes: #XXXXXX)
-- Florent Peterschmitt <florent@peterschmitt.fr> Fri, 31 May 2013 10:07:08 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
8

11
debian/control vendored Normal file
View File

@ -0,0 +1,11 @@
Source: profanity
Maintainer: Florent Peterschmitt <florent@peterschmitt.fr>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: debhelper (>=8), libexpat1-dev, libexpat1, libssl-dev, libncursesw5-dev, libglib2.0-dev, libglib2.0-0, libcurl4-openssl-dev
Package: profanity
Depends: ${shlibs:Depends}, ${misc:Depends}, libexpat1, libssl1.0.0, libncursesw5, libglib2.0-0, curl
Description: Console XMPP client
Architecture: all

8
debian/rules vendored Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_install:
$(MAKE) DESTDIR=$$(pwd)/debian/profanity prefix=/usr install
override_dh_auto_test:

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

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