LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libotr.spec of Package libotr (Project openSUSE:Evergreen:11.2)

#
# spec file for package libotr (Version 3.2.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libotr
BuildRequires:  libgcrypt-devel
Version:        3.2.1
Release:        0
Url:            http://www.cypherpunks.ca/otr/
Group:          Development/Libraries/C and C++
License:        LGPL-2.1+
Summary:        "Off The Record" messaging library toolkit
Source:         http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Off-the-Record (OTR) Messaging allows you to have private conversations
over instant messaging by providing: Encryption No one else can read
your instant messages. Authentication You are assured the correspondent
is who you think it is. Deniability The messages you send do not have
digital signatures that are checkable by a third party. Anyone can
forge messages after a conversation to make them look like they came
from you. However, during a conversation, your correspondent is assured
the messages he sees are authentic and unmodified. Perfect forward
secrecy If you lose control of your private keys, no previous
conversation is compromised.



Authors:
--------
    Nikita Borisov and Ian Goldberg <otr@cypherpunks.ca>

%package -n libotr2
License:        LGPL v2.1 or later
Summary:        "Off The Record" messaging library toolkit
Group:          Development/Libraries/C and C++
#openSUSE 10.3
Provides:       %{name} = %{version}
Obsoletes:      %{name} <= 3.0.0

%description -n libotr2
Off-the-Record (OTR) Messaging allows you to have private conversations
over instant messaging by providing: Encryption No one else can read
your instant messages. Authentication You are assured the correspondent
is who you think it is. Deniability The messages you send do not have
digital signatures that are checkable by a third party. Anyone can
forge messages after a conversation to make them look like they came
from you. However, during a conversation, your correspondent is assured
the messages he sees are authentic and unmodified. Perfect forward
secrecy If you lose control of your private keys, no previous
conversation is compromised.



Authors:
--------
    Nikita Borisov and Ian Goldberg <otr@cypherpunks.ca>

%package devel
License:        LGPL v2.1 or later
Summary:        Include files and development libraries
Group:          Development/Libraries/C and C++
Requires:       libotr2 = %{version} libgcrypt-devel

%description devel
Headers and development libraries for libotr



Authors:
--------
    Nikita Borisov and Ian Goldberg <otr@cypherpunks.ca>

%package tools
License:        LGPL v2.1 or later
Summary:        "Off The Record" messaging library toolkit
Group:          Development/Libraries/C and C++

%description tools
Off-the-Record (OTR) Messaging allows you to have private conversations
over instant messaging by providing: Encryption No one else can read
your instant messages. Authentication You are assured the correspondent
is who you think it is. Deniability The messages you send do not have
digital signatures that are checkable by a third party. Anyone can
forge messages after a conversation to make them look like they came
from you. However, during a conversation, your correspondent is assured
the messages he sees are authentic and unmodified. Perfect forward
secrecy If you lose control of your private keys, no previous
conversation is compromised.



Authors:
--------
    Nikita Borisov and Ian Goldberg <otr@cypherpunks.ca>

%prep
%setup -q

%build
%ifarch %arm
export CFLAGS="$RPM_OPT_FLAGS -O1"
%else
export CFLAGS="$RPM_OPT_FLAGS"
%endif
autoreconf -fi
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}

%check 
%{__make} check

%install
%{__make} DESTDIR=%{buildroot} install
%{__rm} -f %{buildroot}%{_libdir}/libotr.la

%clean
%{__rm} -rf %{buildroot}

%files tools
%defattr (-, root, root)
%{_bindir}/otr*
%{_mandir}/man1/otr*

%files -n libotr2
%defattr (-, root, root)
%{_libdir}/libotr.so.2*

%files devel
%defattr (-, root, root)
%doc COPYING README COPYING.LIB AUTHORS NEWS ChangeLog
%dir %{_includedir}/libotr
%{_includedir}/libotr/*.h
%{_libdir}/libotr.so
%{_datadir}/aclocal/libotr.m4
%{_libdir}/pkgconfig/libotr.pc

%post -n libotr2 -p /sbin/ldconfig

%postun -n libotr2 -p /sbin/ldconfig

%changelog
* Tue Sep 23 2008 crrodriguez@suse.de
- update to version 3.2.0
  * dozen bugfixes, see Changelog for details
* Tue Oct 09 2007 crrodriguez@suse.de
- update to version 3.1.0
- run ldconfig
- make autobuild happy fixing the warnings
- fix devel package dependencies.
- remove static libraries
- use library packaging policy
* Sat Oct 07 2006 aj@suse.de
- Add dependency on base package.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 15 2005 uli@suse.de
- build with -O1 on ARM (ICE workaround)
* Wed Nov 09 2005 bwhiteley@suse.de
- update to version 3.0.0
* Wed Nov 02 2005 bwhiteley@suse.de
- First time suse package (version 2.0.2)