source: projects/specs/trunk/lib/libm/libmsn/libmsn-vl.spec @ 10581

Revision 10581, 3.9 KB checked in by Takemikaduchi, 6 years ago (diff)

xlockmore: new upstream release
others: rebuild with gcc-5.4.0

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