~ubuntu-branches/ubuntu/oneiric/libotr/oneiric-security

« back to all changes in this revision

Viewing changes to packaging/fedora/libotr.spec

  • Committer: Bazaar Package Importer
  • Author(s): Thibaut VARENE
  • Date: 2006-01-02 19:52:18 UTC
  • mfrom: (2.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20060102195218-wb8803196y9mycx6
Tags: 3.0.0-2
Fix typo: "malformed messahes" (Closes: #345400)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Summary: Off-The-Record Messaging libraray and toolkit
 
1
Summary: Off-The-Record Messaging library and toolkit
2
2
Name: libotr
3
 
%define majver 2
4
 
%define minver 0.2
5
 
Version: %{majver}.%{minver}
6
 
%define debug_package %{nil}
7
 
%define ourrelease 1
8
 
Release: %{ourrelease}
9
 
Source: http://www.cypherpunks.ca/otr/libotr-%{majver}.%{minver}.tar.gz
10
 
BuildRoot: %{_tmppath}/%{name}-buildroot
 
3
Version: 3.0.0
 
4
Release: 1%{?dist}
 
5
License: GPL, LGPL
 
6
Group: System Environment/Libraries
 
7
Source0: http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
11
8
Url: http://www.cypherpunks.ca/otr/
12
 
Vendor: Nikita Borisov and Ian Goldberg <otr@cypherpunks.ca>
13
 
Packager: Paul Wouters <paul@cypherpunks.ca>
14
 
License: GPL
15
 
Group: Applications/Internet
16
 
%define __spec_install_post /usr/lib/rpm/brp-compress || :
17
 
 
18
 
%package toolkit
19
 
Summary: the otr toolkit
20
 
Group: Applications/Internet
21
 
Provides: libotr
22
 
Obsoletes: gaim-otr <= 1.0.2
 
9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
10
Provides: libotr-toolkit = %{version}
 
11
Obsoletes: libotr-toolkit < %{version}
 
12
Requires: libgcrypt >= 1.2.0, libgpg-error
23
13
BuildRequires: libgcrypt-devel >= 1.2.0, libgpg-error-devel 
24
 
Requires: libgcrypt >= 1.2.0
25
 
Release: %{ourrelease}
 
14
 
 
15
%description
 
16
Off-the-Record Messaging Library and Toolkit
 
17
This is a library and toolkit which implements Off-the-Record (OTR) Messaging.
 
18
OTR allows you to have private conversations over IM by providing Encryption,
 
19
Authentication, Deniability and Perfect forward secrecy.
26
20
 
27
21
%package devel
28
 
Summary: the otr library and include files
29
 
Group: Applications/Internet
30
 
Release: %{ourrelease}
31
 
Requires: libotr = 2.0.2
32
 
 
33
 
 
34
 
%description toolkit
35
 
 
36
 
              Off-the-Record Messaging Library and Toolkit
37
 
                          v2.0.2,  3 May 2005
38
 
 
39
 
This is a library and toolkit which implements Off-the-Record (OTR) Messaging.
40
 
 
41
 
OTR allows you to have private conversations over IM by providing:
42
 
 - Encryption
43
 
   - No one else can read your instant messages.
44
 
 - Authentication
45
 
   - You are assured the correspondent is who you think it is.
46
 
 - Deniability
47
 
   - The messages you send do _not_ have digital signatures that are
48
 
     checkable by a third party.  Anyone can forge messages after a
49
 
     conversation to make them look like they came from you.  However,
50
 
     _during_ a conversation, your correspondent is assured the messages
51
 
     he sees are authentic and unmodified.
52
 
 - Perfect forward secrecy
53
 
   - If you lose control of your private keys, no previous conversation
54
 
     is compromised.
55
 
 
56
 
For more information on Off-the-Record Messaging, see
57
 
http://www.cypherpunks.ca/otr/
58
 
 
 
22
Summary: Development library and include files for libotr
 
23
Group: Development/Libraries
 
24
Requires: %{name} = %{version}-%{release}, libgcrypt-devel >= 1.2.0
59
25
 
60
26
%description devel
61
 
              Off-the-Record Messaging Library and Toolkit
62
 
                          v2.0.2,  3 May 2005
63
27
 
64
28
The devel package contains the libotr library and the include files
65
29
 
66
 
%description
67
 
A dummy to satisfy rpm 
68
 
 
69
30
%prep
70
 
%setup -q -n libotr-%{majver}.%{minver}
 
31
%setup -q
71
32
 
72
33
%build
73
 
%configure --with-pic --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
74
 
%{__make} \
75
 
        CFLAGS="${RPM_OPT_FLAGS}" \
76
 
        all
 
34
 
 
35
%configure --with-pic
 
36
make %{?_smp_mflags} all
77
37
 
78
38
%install
79
 
rm -rf ${RPM_BUILD_ROOT}
80
 
%{__make} \
81
 
        DESTDIR=${RPM_BUILD_ROOT} \
 
39
rm -rf $RPM_BUILD_ROOT
 
40
make \
 
41
        DESTDIR=$RPM_BUILD_ROOT \
82
42
        LIBINSTDIR=%{_libdir} \
83
43
        install
 
44
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
84
45
 
85
46
%clean
86
 
rm -rf ${RPM_BUILD_ROOT}
 
47
rm -rf $RPM_BUILD_ROOT
 
48
 
 
49
%post -p /sbin/ldconfig
 
50
 
 
51
%postun -p /sbin/ldconfig
87
52
 
88
53
%files 
89
54
%defattr(-,root,root)
90
 
%doc README COPYING COPYING.LIB Protocol
 
55
%doc AUTHORS README COPYING COPYING.LIB NEWS Protocol*
91
56
%{_libdir}/libotr.so.*
92
57
%{_bindir}/*
93
58
%{_mandir}/man1/*
94
59
 
95
60
%files devel
96
 
%doc README COPYING.LIB 
 
61
%defattr(-,root,root,-)
 
62
%doc ChangeLog
97
63
%{_libdir}/libotr.so
98
64
%{_libdir}/libotr.a
99
 
%{_libdir}/libotr.la
 
65
%dir %{_includedir}/libotr
100
66
%{_includedir}/libotr/*
101
67
%{_datadir}/aclocal/*
102
68
 
103
69
 
104
70
%changelog
 
71
* Mon Oct 17 2005 Paul Wouters <paul@cypherpunks.ca> 3.0.0
 
72
- Minor change to allow for new documentation files. Fixed Requires:
 
73
 
 
74
* Sat Jun 19 2005 Paul Wouters <paul@cypherpunks.ca>
 
75
- Fixed defattr, groups, description and duplicate files in devel
 
76
 
 
77
* Fri Jun 17 2005 Tom "spot" Callaway <tcallawa@redhat.com>
 
78
- reworked for Fedora Extras
 
79
 
105
80
* Tue May  3 2005 Ian Goldberg <ian@cypherpunks.ca>
106
81
- Bumped version number to 2.0.2
107
82
* Wed Feb 16 2005 Ian Goldberg <ian@cypherpunks.ca>