d694153
%global snapshot 0
c125c7d
Summary: Off-The-Record Messaging plugin for Pidgin
c125c7d
Name: pidgin-otr
b2e259a
Version: 4.0.2
9401a6e
Release: 5%{?dist}
c125c7d
Source: http://otr.cypherpunks.ca/%{name}-%{version}.tar.gz
c125c7d
Url: http://otr.cypherpunks.ca/
c125c7d
License: GPLv2
c125c7d
Group: Applications/Internet
c125c7d
Provides: gaim-otr = %{version}
c125c7d
Obsoletes: gaim-otr < 3.0.1-0.7.20060712cvs
b2e259a
Requires: pidgin >= 2.0.0, libotr >= 4.1.1
c125c7d
BuildRequires: glib2-devel, gtk2-devel, libgcrypt-devel >= 1.2.0
d694153
BuildRequires: libgpg-error-devel, libotr-devel >= 4.0.0
c125c7d
BuildRequires: pidgin-devel >= 2.0.0, perl(XML::Parser), gettext
78d9eab
BuildRequires: intltool
d694153
%if %{snapshot}
d694153
BuildRequires: libtool automake autoconf
d694153
%endif
c125c7d
9365369
SOURCE1: pidgin-otr.metainfo.xml
9365369
c125c7d
%description 
c125c7d
This is a Pidgin plugin which implements Off-the-Record (OTR) Messaging.
c125c7d
It is known to work (at least) under the Linux and Windows versions of
c125c7d
Pidgin.
c125c7d
c125c7d
%prep
c125c7d
%setup -q
d694153
%if %{snapshot}
d694153
aclocal
d694153
intltoolize --force --copy
d694153
autoreconf -s -i
d694153
%endif
c125c7d
c125c7d
%build
c125c7d
c125c7d
%configure 
c125c7d
make %{?_smp_mflags} all
c125c7d
c125c7d
%install
c125c7d
rm -rf $RPM_BUILD_ROOT
c125c7d
make DESTDIR=$RPM_BUILD_ROOT install
c125c7d
# libtool insists on creating this
c125c7d
rm $RPM_BUILD_ROOT/%{_libdir}/pidgin/pidgin-otr.la
c125c7d
# locale
c125c7d
%find_lang %{name}
9365369
mkdir -p %{buildroot}/%{_datadir}/appdata/
9365369
cp -a %{SOURCE1} %{buildroot}/%{_datadir}/appdata/
c125c7d
c125c7d
%files -f %{name}.lang
c125c7d
%doc README COPYING
c125c7d
%{_libdir}/pidgin/pidgin-otr.so
9365369
%{_datadir}/appdata/pidgin-otr.metainfo.xml
c125c7d
c125c7d
%changelog
9401a6e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-5
9401a6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9401a6e
9365369
* Mon Jul 31 2017 Paul Wouters <pwouters@redhat.com> - 4.0.2-4
9365369
- Resolves: rhbz#1293331 - Ship AppStream metainfo file
9365369
4a9ea83
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-3
4a9ea83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4a9ea83
b15edb8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-2
b15edb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b15edb8
b2e259a
* Fri Mar 11 2016 Paul Wouters <pwouters@redhat.com> - 4.0.2-1
ed41467
- Resolves rhbz#CVE-2015-8833 (rhbz#1316427) heap use after free vulnerability
b2e259a
- Fix use-after-free issue during SMP
b2e259a
- Raise libotr minimal to 4.1.1 for security
b2e259a
3ad344a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
3ad344a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3ad344a
a3b18d0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2
a3b18d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a3b18d0
e154185
* Tue Oct 21 2014 Paul Wouters <pwouters@redhat.com> - 4.0.1-1
e154185
- Updated to 4.0.1 (more translations, Fix for Novell Groupwise)
e154185
5d66e87
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-4
5d66e87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5d66e87
265284c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-3
265284c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
265284c
f8bbe64
* Thu Apr 24 2014 Tomáš Mráz <tmraz@redhat.com> - 4.0.0-2
f8bbe64
- Rebuild for new libgcrypt
f8bbe64
d694153
* Sat Jul 27 2013 Paul Wouters <pwouters@redhat.com> - 4.0.0-1
d694153
- Updated to 4.0.0 - requires libotr >= 4.0.0
d694153
c5bfabc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-3
c5bfabc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c5bfabc
9c4f53f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
9c4f53f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9c4f53f
376b57a
* Mon May 14 2012 Paul Wouters <pwouters@redhat.com> - 3.2.1-1
376b57a
- Updated to 3.2.1. The only change is for CVE-2012-2369
376b57a
9376f6c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-5
9376f6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9376f6c
a2cfcc1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-4
a2cfcc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a2cfcc1
a403afe
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-3
a403afe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a403afe
982847b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-2
982847b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
982847b
625e039
* Sun Jun 15 2008 Paul Wouters <paul@cypherpunks.ca> 3.2.0-1
625e039
- Updated to 3.2.0
625e039
91ec323
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.0-3
91ec323
- Autorebuild for GCC 4.3
91ec323
c125c7d
* Mon Aug  6 2007 Paul Wouters <paul@cypherpunks.ca> 3.1.0-2
c125c7d
- Fixed Buildrequires
c125c7d
- Versioned the gaim-otr Obsolete:
c125c7d
- Changed license to GPLv2
c125c7d
c125c7d
* Thu Aug  2 2007 Paul Wouters <paul@cypherpunks.ca> 3.1.0-1
c125c7d
- Added locale support to spec file
c125c7d
- Upgraded to current version
c125c7d
- Added Obsoletes for gaim-otr, now that the package is called pidgin-otr
c125c7d
c125c7d
* Fri May 11 2007 Stu Tomlinson <stu@nosnilmot.com> 3.0.1-0.5.20060712cvs
c125c7d
- Actually fix it to work with Pidgin
c125c7d
c125c7d
* Wed Apr 18 2007 Paul Wouters <paul@cypherpunks.ca> 3.0.1-0.4.20060921cvs
c125c7d
- Support for the rename of gaim to pidgin
c125c7d
c125c7d
* Sat Oct 28 2006 Paul Wouters <paul@cypherpunks.ca> 3.0.1-0.3.20060921cvs
c125c7d
- Added patch for gaim 2.0.0-beta4
c125c7d
c125c7d
* Mon Oct  2 2006 Paul Wouters <paul@cypherpunks.ca> 3.0.1-0.2.20060921cvs
c125c7d
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
c125c7d
c125c7d
* Fri Sep 22 2006 Paul Wouters <paul@cypherpunks.ca> 3.0.1-0.1.20060921cvs
c125c7d
- Made an error in the cvs version number, breaking the upgrade path.
c125c7d
c125c7d
* Thu Sep 21 2006 Paul Wouters <paul@cypherpunks.ca> 3.0.0-0.5.20060921cvs
c125c7d
- Bumped to build 5
c125c7d
- gaim-devel package now exists and is needed
c125c7d
- Various fixes to setup section for using versioned 
c125c7d
e154185
* Wed Jul 12 2006 Paul Wouters <paul@cypherpunks.ca> 3.0.1-0.1.20060712cvs
c125c7d
- Upgrade to CVS version because no full release of gaim-otr supports
c125c7d
  gaim version 2.x yet, and there is an API change between gaim 1.x and 2.x
c125c7d
c125c7d
* Mon Oct 17 2005 Paul Wouters <paul@cypherpunks.ca> 3.0.0
c125c7d
- Minor change to allow for new documentation files. Ensure
c125c7d
  dependancy on at least libotr version 3.0.0
c125c7d
c125c7d
* Fri Jun 17 2005 Tom "spot" Callaway <tcallawa@redhat.com>
c125c7d
- reworked for Fedora Extras
c125c7d
c125c7d
* Tue May  3 2005 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped to version 2.0.2.
c125c7d
c125c7d
* Wed Feb 23 2005 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped to version 2.0.1.
c125c7d
c125c7d
* Tue Feb  8 2005 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped to version 2.0.0.
c125c7d
c125c7d
* Wed Feb  2 2005 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped to version 1.99.0.
c125c7d
c125c7d
* Wed Jan 19 2005 Paul Wouters <paul@cypherpunks.ca>
c125c7d
- Split spec file from libotr and added dependancies
c125c7d
c125c7d
* Tue Dec 21 2004 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped to version 1.0.2.
c125c7d
c125c7d
* Fri Dec 17 2004 Paul Wouters <paul@cypherpunks.ca>
c125c7d
- install fix for x86_64
c125c7d
c125c7d
* Sun Dec 12 2004 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped to version 1.0.0.
c125c7d
c125c7d
* Fri Dec 10 2004 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped to version 0.9.9rc2. 
c125c7d
c125c7d
* Thu Dec  9 2004 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Added CFLAGS to "make all", removed DESTDIR
c125c7d
c125c7d
* Wed Dec  8 2004 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped to version 0.9.9rc1. 
c125c7d
c125c7d
* Fri Dec  3 2004 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped to version 0.9.1. 
c125c7d
c125c7d
* Wed Dec  1 2004 Paul Wouters <paul@cypherpunks.ca>
c125c7d
- Bumped to version 0.9.0. 
c125c7d
- Fixed install for tools and cos
c125c7d
- Added Obsoletes: target for otr-plugin so rpm-Uhv gaim-otr removes it.
c125c7d
c125c7d
* Mon Nov 22 2004 Ian Goldberg <otr@cypherpunks.ca>
c125c7d
- Bumped version to 0.8.1
c125c7d
c125c7d
* Sun Nov 21 2004 Paul Wouters <paul@cypherpunks.ca>
c125c7d
- Initial version
c125c7d