libmsn-vl.spec 3.3 KB

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