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