[Pkg-privacy-commits] [libotr] 122/225: Fedora spec file for 4.x from Paul Wouters <paul at cypherpunks.ca>

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:45:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository libotr.

commit b750fc9d55ae6e0d19bedaebe93572fdb0c58443
Author: Ian Goldberg <iang at cs.uwaterloo.ca>
Date:   Sun Jul 28 21:39:13 2013 -0400

    Fedora spec file for 4.x from Paul Wouters <paul at cypherpunks.ca>
---
 packaging/fedora/libotr.spec | 91 ++++++++++++++++++++++++++++++--------------
 1 file changed, 63 insertions(+), 28 deletions(-)

diff --git a/packaging/fedora/libotr.spec b/packaging/fedora/libotr.spec
index 17c667d..cb19f94 100644
--- a/packaging/fedora/libotr.spec
+++ b/packaging/fedora/libotr.spec
@@ -1,3 +1,4 @@
+%global snapshot 0
 Summary: Off-The-Record Messaging library and toolkit
 Name: libotr
 Version: 4.0.0
@@ -9,8 +10,12 @@ Url: http://otr.cypherpunks.ca/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Provides: libotr-toolkit = %{version}
 Obsoletes: libotr-toolkit < %{version}
-Requires: libgcrypt >= 1.2.0, 
-BuildRequires: libgcrypt-devel >= 1.2.0, libgpg-error-devel 
+Requires: libgcrypt >= 1.2.0
+Requires: pkgconfig
+BuildRequires: libgcrypt-devel >= 1.2.0, libgpg-error-devel
+%if %{snapshot}
+Buildrequires: libtool automake autoconf
+%endif
 
 %description
 Off-the-Record Messaging Library and Toolkit
@@ -24,19 +29,21 @@ Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}, libgcrypt-devel >= 1.2.0
 
 %description devel
-
-The devel package contains the libotr library and the include files
+The devel package contains the libotr library and include files.
 
 %prep
 %setup -q
 
-%build
-if [ \! -f configure ]; then
-	echo "Building from pre-release"
-	autoreconf -s -i
-fi
+%if %{snapshot}
+aclocal
+intltoolize --force --copy
+autoreconf -s -i
+%endif
 
-%configure --with-pic --disable-rpath
+%build
+%configure --with-pic --disable-rpath --disable-static
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags} all
 
 %install
@@ -65,7 +72,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc ChangeLog
 %{_libdir}/libotr.so
-%{_libdir}/libotr.a
 %{_libdir}/pkgconfig/libotr.pc
 %dir %{_includedir}/libotr
 %{_includedir}/libotr/*
@@ -73,12 +79,54 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Thu Jun 11 2009 Paul Wouters <paul at xelerance.com> - 4.0.0-1
-- Upgraded to 4.0.0.
-- Fix license tag
+* Sat Jul 27 2013 Paul Wouters <pwouters at redhat.com> - 4.0.0-1
+- Upgraded to libotr-4.0.0
+- Since this is API incompatible, there is also a libotr3 package
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Wed Aug 15 2012 Paul Wouters <pwouters at redhat.com> - 3.2.1-1
+- Updated to 3.2.1, updates patch for rhbz#846377, CVE-2012-3461
+
+* Wed Aug 08 2012 Paul Wouters <pwouters at redhat.com> - 3.2.0-9
+- Patch for Multiple heap-based buffer overflows in the Base64 decoder
+  (rhbz#846377, upstream will not release 3.2.1 for this)
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.0-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.0-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.0-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon May 24 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 3.2.0-5
+- disable static libs
+- disable rpath
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 3.2.0-2
+- fix license tag
+
+* Sun Jun 15 2008 Paul Wouters <paul at cypherpunks.ca> 3.2.0-1
+- Upgraded to 3.2.0
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.1.0-2
+- Autorebuild for GCC 4.3
 
-* Thu Jul 26 2007 Paul Wouters <paul at cypherpunks.ca> 3.1.0-preview2
+* Wed Aug  1 2007 Paul Wouters <paul at cypherpunks.ca> 3.1.0-1
 - Upgraded to current version
+- Updated URLS and configure line
+
+* Mon Sep 11 2006 Paul Wouters <paul at cypherpunks.ca> 3.0.0-2
+- Rebuild requested for PT_GNU_HASH support from gcc
 
 * Mon Oct 17 2005 Paul Wouters <paul at cypherpunks.ca> 3.0.0-1
 - Minor change to allow for new documentation files. Fixed Requires:
@@ -91,46 +139,33 @@ rm -rf $RPM_BUILD_ROOT
 
 * Tue May  3 2005 Ian Goldberg <ian at cypherpunks.ca>
 - Bumped version number to 2.0.2
-
 * Wed Feb 16 2005 Ian Goldberg <ian at cypherpunks.ca>
 - Bumped version number to 2.0.1
-
 * Tue Feb  8 2005 Ian Goldberg <ian at cypherpunks.ca>
 - Bumped version number to 2.0.0
-
 * Wed Feb  2 2005 Ian Goldberg <ian at cypherpunks.ca>
 - Added libotr.m4 to the devel package
 - Bumped version number to 1.99.0
-
 * Wed Jan 19 2005 Paul Wouters <paul at cypherpunks.ca>
 - Updated spec file for the gaim-otr libotr split
-
 * Tue Dec 21 2004 Ian Goldberg <otr at cypherpunks.ca>
 - Bumped to version 1.0.2.
-
 * Fri Dec 17 2004 Paul Wouters <paul at cypherpunks.ca>
 - instll fix for x86_64
-
 * Sun Dec 12 2004 Ian Goldberg <otr at cypherpunks.ca>
 - Bumped to version 1.0.0.
-
 * Fri Dec 10 2004 Ian Goldberg <otr at cypherpunks.ca>
 - Bumped to version 0.9.9rc2. 
-
 * Thu Dec  9 2004 Ian Goldberg <otr at cypherpunks.ca>
 - Added CFLAGS to "make all", removed DESTDIR
-
 * Wed Dec  8 2004 Ian Goldberg <otr at cypherpunks.ca>
 - Bumped to version 0.9.9rc1. 
-
 * Fri Dec  3 2004 Ian Goldberg <otr at cypherpunks.ca>
 - Bumped to version 0.9.1. 
-
 * Wed Dec  1 2004 Paul Wouters <paul at cypherpunks.ca>
 - Bumped to version 0.9.0. 
 - Fixed install for tools and cos
 - Added Obsoletes: target for otr-plugin so rpm-Uhv gaim-otr removes it.
-
 * Mon Nov 22 2004 Ian Goldberg <otr at cypherpunks.ca>
 - Bumped version to 0.8.1
 * Sun Nov 21 2004 Paul Wouters <paul at cypherpunks.ca>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libotr.git



More information about the Pkg-privacy-commits mailing list