libmsn-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Summary: Library for connecting to the MSN Messenger service
  2. Name: libmsn
  3. Version: 4.1
  4. Release: 2%{?_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 Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.1-2
  57. - rebuilt with rpm-4.8.1 for pkg-config
  58. * Thu Apr 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.1-1
  59. - new upstream release
  60. * Sun Jan 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.0-1
  61. - new upstream release
  62. * Sat Sep 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 4.0-0.beta7.2
  63. - use %%cmake macro
  64. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.0-0.beta7.1
  65. - Initial build for Vine Linux
  66. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-0.13.beta7
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  68. * Thu Jul 23 2009 Lukáš Tinkl <ltinkl@redhat.com> 4.0-0.12.beta7
  69. - 4.0 beta 7
  70. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-0.11.beta4
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  72. * Sat Jan 24 2009 John5342 <john5342 at, fedoraproject.org> 4.0-0.10.beta4
  73. - libmsn-4.0-beta4
  74. * Fri Jan 23 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.9.beta2
  75. - revert use of (tm)
  76. * Fri Jan 23 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.8.beta2
  77. - remove pkgconfig hack/workaround
  78. * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> 4.0-0.7.beta2
  79. - rebuild with new openssl
  80. * Fri Jan 09 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.6.beta2
  81. - pkgconfig patch to workaround bug #479493
  82. * Fri Jan 09 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.5.beta2
  83. - -devel: Requires: openssl-devel
  84. * Fri Jan 09 2009 Rex Dieter <rdieter@fedoraproject.org> 4.0-0.4.beta2
  85. - libmsn-4.0-beta2
  86. * Thu Dec 11 2008 John5342 <john5342 at, fedoraproject.org> 4.0-0.3.beta1
  87. - Left docs out of devel package
  88. - Added (tm) to MSN
  89. * Wed Dec 10 2008 John5342 <john5342 at, fedoraproject.org> 4.0-0.2.beta1
  90. - Removed questionable trademarks in description and summary
  91. * Wed Dec 10 2008 John5342 <john5342 at, fedoraproject.org> 4.0-0.1.beta1
  92. - Initial package