libotr-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Name: libotr
  2. Summary: Off-The-Record Messaging library and toolkit
  3. Version: 3.2.0
  4. Release: 6%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: GPLv2 and LGPLv2
  7. URL: http://otr.cypherpunks.ca/
  8. Source0: http://otr.cypherpunks.ca/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: libgcrypt-devel >= 1.2.0
  11. BuildRequires: libgpg-error-devel
  12. Requires: libgcrypt >= 1.2.0
  13. Provides: libotr-toolkit = %{version}
  14. Obsoletes: libotr-toolkit < %{version}
  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.
  20. %package devel
  21. Summary: Development library and include files for libotr
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: libgcrypt-devel >= 1.2.0
  25. Requires: pkgconfig
  26. %description devel
  27. The devel package contains the libotr library and the include files
  28. %prep
  29. %setup -q
  30. %build
  31. %configure --with-pic --disable-rpath --disable-static
  32. make %{?_smp_mflags} all
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make \
  36. DESTDIR=$RPM_BUILD_ROOT \
  37. LIBINSTDIR=%{_libdir} \
  38. install
  39. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %defattr(-,root,root)
  46. %doc AUTHORS README COPYING COPYING.LIB NEWS Protocol*
  47. %{_libdir}/libotr.so.*
  48. %{_bindir}/*
  49. %{_mandir}/man1/*
  50. %files devel
  51. %defattr(-,root,root,-)
  52. %doc ChangeLog
  53. %{_libdir}/libotr.so
  54. %{_libdir}/pkgconfig/libotr.pc
  55. %dir %{_includedir}/libotr
  56. %{_includedir}/libotr/*
  57. %{_datadir}/aclocal/*
  58. %changelog
  59. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.2.0-6
  60. - rebuilt wirh rpm-4.8.1 for pkg-config
  61. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.2.0-5
  62. - Initial build for Vine Linux
  63. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-4
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  65. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-3
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  67. * Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2.0-2
  68. - fix license tag
  69. * Sun Jun 15 2008 Paul Wouters <paul@cypherpunks.ca> 3.2.0-1
  70. - Upgraded to 3.2.0
  71. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.0-2
  72. - Autorebuild for GCC 4.3
  73. * Wed Aug 1 2007 Paul Wouters <paul@cypherpunks.ca> 3.1.0-1
  74. - Upgraded to current version
  75. - Updated URLS and configure line
  76. * Mon Sep 11 2006 Paul Wouters <paul@cypherpunks.ca> 3.0.0-2
  77. - Rebuild requested for PT_GNU_HASH support from gcc
  78. * Mon Oct 17 2005 Paul Wouters <paul@cypherpunks.ca> 3.0.0-1
  79. - Minor change to allow for new documentation files. Fixed Requires:
  80. * Sat Jun 19 2005 Paul Wouters <paul@cypherpunks.ca>
  81. - Fixed defattr, groups, description and duplicate files in devel
  82. * Fri Jun 17 2005 Tom "spot" Callaway <tcallawa@redhat.com>
  83. - reworked for Fedora Extras
  84. * Tue May 3 2005 Ian Goldberg <ian@cypherpunks.ca>
  85. - Bumped version number to 2.0.2
  86. * Wed Feb 16 2005 Ian Goldberg <ian@cypherpunks.ca>
  87. - Bumped version number to 2.0.1
  88. * Tue Feb 8 2005 Ian Goldberg <ian@cypherpunks.ca>
  89. - Bumped version number to 2.0.0
  90. * Wed Feb 2 2005 Ian Goldberg <ian@cypherpunks.ca>
  91. - Added libotr.m4 to the devel package
  92. - Bumped version number to 1.99.0
  93. * Wed Jan 19 2005 Paul Wouters <paul@cypherpunks.ca>
  94. - Updated spec file for the gaim-otr libotr split
  95. * Tue Dec 21 2004 Ian Goldberg <otr@cypherpunks.ca>
  96. - Bumped to version 1.0.2.
  97. * Fri Dec 17 2004 Paul Wouters <paul@cypherpunks.ca>
  98. - instll fix for x86_64
  99. * Sun Dec 12 2004 Ian Goldberg <otr@cypherpunks.ca>
  100. - Bumped to version 1.0.0.
  101. * Fri Dec 10 2004 Ian Goldberg <otr@cypherpunks.ca>
  102. - Bumped to version 0.9.9rc2.
  103. * Thu Dec 9 2004 Ian Goldberg <otr@cypherpunks.ca>
  104. - Added CFLAGS to "make all", removed DESTDIR
  105. * Wed Dec 8 2004 Ian Goldberg <otr@cypherpunks.ca>
  106. - Bumped to version 0.9.9rc1.
  107. * Fri Dec 3 2004 Ian Goldberg <otr@cypherpunks.ca>
  108. - Bumped to version 0.9.1.
  109. * Wed Dec 1 2004 Paul Wouters <paul@cypherpunks.ca>
  110. - Bumped to version 0.9.0.
  111. - Fixed install for tools and cos
  112. - Added Obsoletes: target for otr-plugin so rpm-Uhv gaim-otr removes it.
  113. * Mon Nov 22 2004 Ian Goldberg <otr@cypherpunks.ca>
  114. - Bumped version to 0.8.1
  115. * Sun Nov 21 2004 Paul Wouters <paul@cypherpunks.ca>
  116. - Initial version