libmsn-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. Summary: Library for connecting to the MSN Messenger service
  2. Name: libmsn
  3. Version: 4.1
  4. Release: 3%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: GPLv2
  7. URL: http://sourceforge.net/projects/libmsn/
  8. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?beta:-%{beta}}.tar.bz2
  9. Patch0: libmsn-4.1-msntest-vine.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: cmake
  12. BuildRequires: openssl-devel
  13. BuildRequires: pkgconfig
  14. %description
  15. Libmsn is a reusable, open-source, fully documented library for connecting to
  16. the MSN Messenger service.
  17. %package devel
  18. Summary: Development files for %{name}
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: openssl-devel
  22. Requires: pkgconfig
  23. %description devel
  24. The %{name}-devel package contains libraries and header files for
  25. developing applications that use %{name}.
  26. %prep
  27. %setup -q -n %{name}-%{version}%{?beta:-%{beta}}
  28. %patch0 -p1 -b .vine
  29. %build
  30. mkdir -p %{_target_platform}
  31. pushd %{_target_platform}
  32. CFLAGS="${CFLAGS:-%optflags}" \
  33. CXXFLAGS="${CXXFLAGS:-%optflags}" \
  34. FFLAGS="${FFLAGS:-%optflags}" \
  35. %cmake \
  36. -DCMAKE_BUILD_TYPE=release \
  37. ..
  38. popd
  39. make %{?_smp_mflags} -C %{_target_platform}
  40. %install
  41. rm -rf %{buildroot}
  42. make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
  43. %clean
  44. rm -rf %{buildroot}
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc README COPYING THANKS
  50. %{_bindir}/msntest
  51. %{_libdir}/libmsn.so.0*
  52. %files devel
  53. %defattr(-,root,root,-)
  54. %{_libdir}/libmsn.so
  55. %{_libdir}/pkgconfig/libmsn.pc
  56. %{_includedir}/msn/
  57. %changelog
  58. * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.1-3
  59. - rebuild with openssl-1.0.0c
  60. - add Patch0 (libmsn-4.1-msntest-vine.patch)
  61. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.1-2
  62. - rebuilt with rpm-4.8.1 for pkg-config
  63. * Thu Apr 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.1-1
  64. - new upstream release
  65. * Sun Jan 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.0-1
  66. - new upstream release
  67. * Sat Sep 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 4.0-0.beta7.2
  68. - use %%cmake macro
  69. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.0-0.beta7.1
  70. - Initial build for Vine Linux
  71. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-0.13.beta7
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  73. * Thu Jul 23 2009 Lukáš Tinkl <ltinkl@redhat.com> 4.0-0.12.beta7
  74. - 4.0 beta 7
  75. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-0.11.beta4
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  77. * Sat Jan 24 2009 John5342 <john5342 at, fedoraproject.org> 4.0-0.10.beta4
  78. - libmsn-4.0-beta4
  79. * Fri Jan 23 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.9.beta2
  80. - revert use of (tm)
  81. * Fri Jan 23 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.8.beta2
  82. - remove pkgconfig hack/workaround
  83. * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> 4.0-0.7.beta2
  84. - rebuild with new openssl
  85. * Fri Jan 09 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.6.beta2
  86. - pkgconfig patch to workaround bug #479493
  87. * Fri Jan 09 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.5.beta2
  88. - -devel: Requires: openssl-devel
  89. * Fri Jan 09 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.4.beta2
  90. - libmsn-4.0-beta2
  91. * Thu Dec 11 2008 John5342 <john5342 at, fedoraproject.org> 4.0-0.3.beta1
  92. - Left docs out of devel package
  93. - Added (tm) to MSN
  94. * Wed Dec 10 2008 John5342 <john5342 at, fedoraproject.org> 4.0-0.2.beta1
  95. - Removed questionable trademarks in description and summary
  96. * Wed Dec 10 2008 John5342 <john5342 at, fedoraproject.org> 4.0-0.1.beta1
  97. - Initial package