source: projects/specs/trunk/lib/libk/libktorrent/libktorrent-vl.spec @ 2725

Revision 2725, 2.3 KB checked in by inagaki, 13 years ago (diff)

update: qscintilla, libktorrent

RevLine 
[1636]1Name:    libktorrent
2Summary: Library providing torrent downloading code
[2725]3Version: 1.0.5
4Release: 1%{?_dist_release}
[1636]5
6Group:   System Environment/Libraries
7License: GPLv2+
8URL:     http://ktorrent.org/
9
[2725]10Source0: http://ktorrent.org/downloads/4.0.5/libktorrent-%{version}-3.tar.bz2
[1636]11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: libboost-devel
14BuildRequires: gettext
15BuildRequires: gmp-devel
[2725]16BuildRequires: kdelibs4-devel
[1636]17BuildRequires: qca2-devel
18
19%description
20%{summary}.
21
22%package devel
23Summary: Developer files for %{name}
[2725]24Summary(ja): %{name} の開発用ファイル
[1636]25Group:   Development/Libraries
26Obsoletes: ktorrent-devel <= 4.0
27Requires: %{name} = %{version}-%{release}
[2725]28Requires: kdelibs4-devel
[1636]29
30%description devel
31%{summary}.
32
33
34%prep
[2725]35%setup -q -n %{name}-%{version}-3
[1636]36
37%build
38mkdir -p %{_target_platform}
39pushd %{_target_platform}
40unset QTDIR || : ; . /etc/profile.d/qt4.sh
41%cmake \
42    -DCMAKE_BUILD_TYPE=release \
43    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
44    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
45    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
46    ..
47popd
48
49make %{?_smp_mflags} -C %{_target_platform}
50
51
52%install
53rm -rf %{buildroot}
54
55make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
56
57%find_lang %{name} --with-kde
58
59
60%clean
61rm -rf %{buildroot}
62
63
64%post -p /sbin/ldconfig
65
66%postun -p /sbin/ldconfig
67
68
69%files -f %{name}.lang
70%defattr(-,root,root,-)
71%doc ChangeLog COPYING
72%{_libdir}/libktorrent.so.2*
73
74%files devel
75%defattr(-,root,root,-)
76%{_datadir}/kde4/apps/cmake/modules/FindKTorrent.cmake
77%{_includedir}/kde4/libktorrent/
78%{_libdir}/libktorrent.so
79
80
81%changelog
[2725]82* Wed Jan 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.5-1
83- new upstream release
84
[1636]85* Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-3
86- initial build for Vine Linux
87
88* Fri Jul  9 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-2
89- fixed license tag
90- added license text
91
92* Thu Jul  8 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-1
93- libktorrent-1.0.2
94
95* Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.1-1
96- libktorrent-1.0.1
97
98* Mon May 24 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-1
99- libktorrent-1.0.0
100
101* Wed May 05 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.2.rc1
102- -devel: Obsoletes: ktorrent-devel
103
104* Mon May 03 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.1.rc1
105- libktorrent-1.0rc1
106
Note: See TracBrowser for help on using the repository browser.