libotr-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Summary: Off-The-Record Messaging library and toolkit
  2. Name: libotr
  3. Version: 3.2.0
  4. Release: 5%{?_dist_release}
  5. License: GPLv2 and LGPLv2
  6. Group: System Environment/Libraries
  7. Source0: http://otr.cypherpunks.ca/%{name}-%{version}.tar.gz
  8. Url: http://otr.cypherpunks.ca/
  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}/libotr.a
  55. %{_libdir}/pkgconfig/libotr.pc
  56. %dir %{_includedir}/libotr
  57. %{_includedir}/libotr/*
  58. %{_datadir}/aclocal/*
  59. %changelog
  60. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.2.0-5
  61. - Initial build for Vine Linux
  62. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-4
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  64. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-3
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  66. * Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.2.0-2
  67. - fix license tag
  68. * Sun Jun 15 2008 Paul Wouters <paul@cypherpunks.ca> 3.2.0-1
  69. - Upgraded to 3.2.0
  70. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.0-2
  71. - Autorebuild for GCC 4.3
  72. * Wed Aug 1 2007 Paul Wouters <paul@cypherpunks.ca> 3.1.0-1
  73. - Upgraded to current version
  74. - Updated URLS and configure line
  75. * Mon Sep 11 2006 Paul Wouters <paul@cypherpunks.ca> 3.0.0-2
  76. - Rebuild requested for PT_GNU_HASH support from gcc
  77. * Mon Oct 17 2005 Paul Wouters <paul@cypherpunks.ca> 3.0.0-1
  78. - Minor change to allow for new documentation files. Fixed Requires:
  79. * Sat Jun 19 2005 Paul Wouters <paul@cypherpunks.ca>
  80. - Fixed defattr, groups, description and duplicate files in devel
  81. * Fri Jun 17 2005 Tom "spot" Callaway <tcallawa@redhat.com>
  82. - reworked for Fedora Extras
  83. * Tue May 3 2005 Ian Goldberg <ian@cypherpunks.ca>
  84. - Bumped version number to 2.0.2
  85. * Wed Feb 16 2005 Ian Goldberg <ian@cypherpunks.ca>
  86. - Bumped version number to 2.0.1
  87. * Tue Feb 8 2005 Ian Goldberg <ian@cypherpunks.ca>
  88. - Bumped version number to 2.0.0
  89. * Wed Feb 2 2005 Ian Goldberg <ian@cypherpunks.ca>
  90. - Added libotr.m4 to the devel package
  91. - Bumped version number to 1.99.0
  92. * Wed Jan 19 2005 Paul Wouters <paul@cypherpunks.ca>
  93. - Updated spec file for the gaim-otr libotr split
  94. * Tue Dec 21 2004 Ian Goldberg <otr@cypherpunks.ca>
  95. - Bumped to version 1.0.2.
  96. * Fri Dec 17 2004 Paul Wouters <paul@cypherpunks.ca>
  97. - instll fix for x86_64
  98. * Sun Dec 12 2004 Ian Goldberg <otr@cypherpunks.ca>
  99. - Bumped to version 1.0.0.
  100. * Fri Dec 10 2004 Ian Goldberg <otr@cypherpunks.ca>
  101. - Bumped to version 0.9.9rc2.
  102. * Thu Dec 9 2004 Ian Goldberg <otr@cypherpunks.ca>
  103. - Added CFLAGS to "make all", removed DESTDIR
  104. * Wed Dec 8 2004 Ian Goldberg <otr@cypherpunks.ca>
  105. - Bumped to version 0.9.9rc1.
  106. * Fri Dec 3 2004 Ian Goldberg <otr@cypherpunks.ca>
  107. - Bumped to version 0.9.1.
  108. * Wed Dec 1 2004 Paul Wouters <paul@cypherpunks.ca>
  109. - Bumped to version 0.9.0.
  110. - Fixed install for tools and cos
  111. - Added Obsoletes: target for otr-plugin so rpm-Uhv gaim-otr removes it.
  112. * Mon Nov 22 2004 Ian Goldberg <otr@cypherpunks.ca>
  113. - Bumped version to 0.8.1
  114. * Sun Nov 21 2004 Paul Wouters <paul@cypherpunks.ca>
  115. - Initial version