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