libotr-vl.spec 4.5 KB

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