Blame SPECS/libotr.spec

a10472
%global snapshot 0
a10472
Summary: Off-The-Record Messaging library and toolkit
a10472
Name: libotr
a10472
Version: 4.1.1
a10472
Release: 13%{?dist}
a10472
License: GPLv2 and LGPLv2
a10472
Source0: http://otr.cypherpunks.ca/%{name}-%{version}.tar.gz
a10472
Url: http://otr.cypherpunks.ca/
a10472
Provides: libotr-toolkit = %{version}
a10472
Obsoletes: libotr-toolkit < %{version}
a10472
Requires: libgcrypt >= 1.2.0
a10472
Requires: pkgconfig
a10472
BuildRequires: make
a10472
BuildRequires:  gcc
a10472
BuildRequires: libgcrypt-devel >= 1.2.0, libgpg-error-devel
a10472
%if %{snapshot}
a10472
Buildrequires: libtool automake autoconf
a10472
%endif
a10472
a10472
%description
a10472
Off-the-Record Messaging Library and Toolkit
a10472
This is a library and toolkit which implements Off-the-Record (OTR) Messaging.
a10472
OTR allows you to have private conversations over IM by providing Encryption,
a10472
Authentication, Deniability and Perfect forward secrecy.
a10472
a10472
%package devel
a10472
Summary: Development library and include files for libotr
a10472
Requires: %{name} = %{version}-%{release}, libgcrypt-devel >= 1.2.0
a10472
Conflicts: libotr3-devel
a10472
a10472
%description devel
a10472
The devel package contains the libotr library and include files.
a10472
a10472
%prep
a10472
%setup -q
a10472
a10472
%if %{snapshot}
a10472
aclocal
a10472
intltoolize --force --copy
a10472
autoreconf -s -i
a10472
%endif
a10472
a10472
%build
a10472
%configure --with-pic --disable-rpath --disable-static
a10472
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
a10472
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
a10472
make %{?_smp_mflags} all
a10472
a10472
%install
a10472
rm -rf $RPM_BUILD_ROOT
a10472
make \
a10472
	DESTDIR=$RPM_BUILD_ROOT \
a10472
	LIBINSTDIR=%{_libdir} \
a10472
	install
a10472
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
a10472
a10472
%ldconfig_scriptlets
a10472
a10472
%files
a10472
%doc AUTHORS README COPYING COPYING.LIB NEWS Protocol*
a10472
%{_libdir}/libotr.so.*
a10472
%{_bindir}/*
a10472
%{_mandir}/man1/*
a10472
a10472
%files devel
a10472
%doc ChangeLog
a10472
%{_libdir}/libotr.so
a10472
%{_libdir}/pkgconfig/libotr.pc
a10472
%dir %{_includedir}/libotr
a10472
%{_includedir}/libotr/*
a10472
%{_datadir}/aclocal/*
a10472
a10472
a10472
%changelog
a10472
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.1.1-13
a10472
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
a10472
  Related: rhbz#1991688
a10472
a10472
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.1.1-12
a10472
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
a10472
a10472
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-11
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a10472
a10472
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-10
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a10472
a10472
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-9
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a10472
a10472
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-8
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a10472
a10472
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-7
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a10472
a10472
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-6
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a10472
a10472
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-5
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a10472
a10472
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-4
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a10472
a10472
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-3
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a10472
a10472
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-2
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a10472
a10472
* Wed Mar 09 2016 Paul Wouters <pwouters@redhat.com> - 4.1.1-1
a10472
- Updated to 4.1.1
a10472
- Resolves rhbz#CVE-2016-2851
a10472
a10472
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a10472
a10472
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.0-2
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a10472
a10472
* Tue Oct 21 2014 Paul Wouters <pwouters@redhat.com> - 4.1.0-1
a10472
- Updated to 4.1.0 (minor security enhancements, fragmentation bugfixes)
a10472
a10472
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-5
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a10472
a10472
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-4
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a10472
a10472
* Wed Mar 12 2014 Paul Wouters <pwouters@redhat.com> - 4.0.0-3
a10472
- Added four git fixes, of which two were crashers
a10472
a10472
* Wed Aug 21 2013 Paul Wouters <pwouters@redhat.com> - 4.0.0-2
a10472
- Conflict libotr-devel with libotr3-devel (rhbz#998382)
a10472
a10472
* Sat Jul 27 2013 Paul Wouters <pwouters@redhat.com> - 4.0.0-1
a10472
- Upgraded to libotr-4.0.0
a10472
- Since this is API incompatible, there is also a libotr3 package
a10472
a10472
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a10472
a10472
* Wed Aug 15 2012 Paul Wouters <pwouters@redhat.com> - 3.2.1-1
a10472
- Updated to 3.2.1, updates patch for rhbz#846377, CVE-2012-3461
a10472
a10472
* Wed Aug 08 2012 Paul Wouters <pwouters@redhat.com> - 3.2.0-9
a10472
- Patch for Multiple heap-based buffer overflows in the Base64 decoder
a10472
  (rhbz#846377, upstream will not release 3.2.1 for this)
a10472
a10472
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-8
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a10472
a10472
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-7
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a10472
a10472
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-6
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a10472
a10472
* Mon May 24 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2.0-5
a10472
- disable static libs
a10472
- disable rpath
a10472
a10472
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-4
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a10472
a10472
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-3
a10472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a10472
a10472
* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2.0-2
a10472
- fix license tag
a10472
a10472
* Sun Jun 15 2008 Paul Wouters <paul@cypherpunks.ca> 3.2.0-1
a10472
- Upgraded to 3.2.0
a10472
a10472
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.0-2
a10472
- Autorebuild for GCC 4.3
a10472
a10472
* Wed Aug  1 2007 Paul Wouters <paul@cypherpunks.ca> 3.1.0-1
a10472
- Upgraded to current version
a10472
- Updated URLS and configure line
a10472
a10472
* Mon Sep 11 2006 Paul Wouters <paul@cypherpunks.ca> 3.0.0-2
a10472
- Rebuild requested for PT_GNU_HASH support from gcc
a10472
a10472
* Mon Oct 17 2005 Paul Wouters <paul@cypherpunks.ca> 3.0.0-1
a10472
- Minor change to allow for new documentation files. Fixed Requires:
a10472
a10472
* Sun Jun 19 2005 Paul Wouters <paul@cypherpunks.ca>
a10472
- Fixed defattr, groups, description and duplicate files in devel
a10472
a10472
* Fri Jun 17 2005 Tom "spot" Callaway <tcallawa@redhat.com>
a10472
- reworked for Fedora Extras
a10472
a10472
* Tue May  3 2005 Ian Goldberg <ian@cypherpunks.ca>
a10472
- Bumped version number to 2.0.2
a10472
* Wed Feb 16 2005 Ian Goldberg <ian@cypherpunks.ca>
a10472
- Bumped version number to 2.0.1
a10472
* Tue Feb  8 2005 Ian Goldberg <ian@cypherpunks.ca>
a10472
- Bumped version number to 2.0.0
a10472
* Wed Feb  2 2005 Ian Goldberg <ian@cypherpunks.ca>
a10472
- Added libotr.m4 to the devel package
a10472
- Bumped version number to 1.99.0
a10472
* Wed Jan 19 2005 Paul Wouters <paul@cypherpunks.ca>
a10472
- Updated spec file for the gaim-otr libotr split
a10472
* Tue Dec 21 2004 Ian Goldberg <otr@cypherpunks.ca>
a10472
- Bumped to version 1.0.2.
a10472
* Fri Dec 17 2004 Paul Wouters <paul@cypherpunks.ca>
a10472
- instll fix for x86_64
a10472
* Sun Dec 12 2004 Ian Goldberg <otr@cypherpunks.ca>
a10472
- Bumped to version 1.0.0.
a10472
* Fri Dec 10 2004 Ian Goldberg <otr@cypherpunks.ca>
a10472
- Bumped to version 0.9.9rc2. 
a10472
* Thu Dec  9 2004 Ian Goldberg <otr@cypherpunks.ca>
a10472
- Added CFLAGS to "make all", removed DESTDIR
a10472
* Wed Dec  8 2004 Ian Goldberg <otr@cypherpunks.ca>
a10472
- Bumped to version 0.9.9rc1. 
a10472
* Fri Dec  3 2004 Ian Goldberg <otr@cypherpunks.ca>
a10472
- Bumped to version 0.9.1. 
a10472
* Wed Dec  1 2004 Paul Wouters <paul@cypherpunks.ca>
a10472
- Bumped to version 0.9.0. 
a10472
- Fixed install for tools and cos
a10472
- Added Obsoletes: target for otr-plugin so rpm-Uhv gaim-otr removes it.
a10472
* Mon Nov 22 2004 Ian Goldberg <otr@cypherpunks.ca>
a10472
- Bumped version to 0.8.1
a10472
* Sun Nov 21 2004 Paul Wouters <paul@cypherpunks.ca>
a10472
- Initial version
a10472