-
Notifications
You must be signed in to change notification settings - Fork 24
/
irssi-otr.spec.in
40 lines (33 loc) · 1.03 KB
/
irssi-otr.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Name: irssi-otr
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: Off-The-Record Messaging plugin for irssi
Group: Applications/Internet
License: GPLv2+
URL: https://github.com/cryptodotis/irssi-otr
Source0: %{name}-%{version}.tar.bz2
BuildRequires: glib2-devel >= 2.13
BuildRequires: irssi-devel
BuildRequires: libotr-devel >= 4.1.0
BuildRequires: pkgconfig
Requires: irssi
%description
This provides module which implements Off-The-Record (OTR)
Messaging for the irssi IRC client.
%prep
%setup -q
%build
#./bootstrap
%configure --with-irssi-module-dir=%{_libdir}/irssi/modules
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
# needed for debuginfo subpackage
chmod +x %{buildroot}%{_libdir}/irssi/modules/libotr.so
%files
%doc README.md LICENSE ChangeLog
%{_libdir}/irssi/modules/libotr.so
%{_datadir}/irssi/help/otr
%changelog
* Sun Mar 09 2014 Martin Milata <[email protected]> - 1.0-1
- Initial package based on Conrad Meyer's spec for irc-otr.