Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > f90aac28f0b8f3b0f01c6a8f2f300adb > files > 3

jj-1-2.fc16.src.rpm

Name:           jj
Version:        1
Release:        2%{?dist}
Summary:        A FIFO and file-system based Jabber/XMPP client
Group:          Applications/Internet
License:        GPLv3
URL:            http://23.fi/%{name}/
Source0:        http://23.fi/%{name}/%{name}-%{version}.tar.gz
# Utilize CFLAGS
# https://github.com/Petteri/jj/pull/2
Patch1:         %{name}-1-optflags.patch
BuildRequires:  loudmouth-devel
BuildRequires:  glib2-devel

%description
%{name} is more tool than traditional instant messenger client.  It can
be easily extended with normal UNIX tools. It is perfect for bots and
notifications.  Interaction is done by writing and reading files from
the server directory which %{name} creates.

%prep
%setup -q -n %{name}
%patch1 -p1 -b .optflags

%build
make %{?_smp_mflags} CFLAGS="%{optflags}"

%install
mkdir -p %{buildroot}%{_bindir}
install -p -m755 %{name} %{buildroot}%{_bindir}/%{name}

%files
%doc README gpl.txt 
%{_bindir}/%{name}

%changelog
* Tue Jul 03 2012 Petr Å abata <contyk@redhat.com> - 1-2
- Makefile patch modified, thanks Dan (#831705)

* Wed Jun 13 2012 Petr Å abata <contyk@redhat.com> - 1-1
- Initial packaging