1 | Name: libktorrent |
---|
2 | Summary: Library providing torrent downloading code |
---|
3 | Version: 1.3.1 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: GPLv2+ |
---|
8 | URL: http://ktorrent.pwsp.net/ |
---|
9 | |
---|
10 | Source0: http://ktorrent.pwsp.net/downloads/4.3.1/%{name}-%{version}.tar.bz2 |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: gettext |
---|
14 | BuildRequires: gmp-devel |
---|
15 | BuildRequires: kdelibs4-devel |
---|
16 | BuildRequires: libboost-devel |
---|
17 | BuildRequires: libgcrypt-devel |
---|
18 | BuildRequires: qca2-devel |
---|
19 | |
---|
20 | %description |
---|
21 | %{summary}. |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Developer files for %{name} |
---|
25 | Summary(ja): %{name} の開発用ファイル |
---|
26 | Group: Development/Libraries |
---|
27 | Obsoletes: ktorrent-devel <= 4.0 |
---|
28 | Requires: %{name} = %{version}-%{release} |
---|
29 | Requires: kdelibs4-devel |
---|
30 | |
---|
31 | %description devel |
---|
32 | %{summary}. |
---|
33 | |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | |
---|
38 | %build |
---|
39 | mkdir -p %{_target_platform} |
---|
40 | pushd %{_target_platform} |
---|
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 | .. |
---|
47 | popd |
---|
48 | |
---|
49 | make %{?_smp_mflags} -C %{_target_platform} |
---|
50 | |
---|
51 | |
---|
52 | %install |
---|
53 | rm -rf %{buildroot} |
---|
54 | |
---|
55 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
56 | |
---|
57 | %find_lang %{name} --with-kde |
---|
58 | |
---|
59 | |
---|
60 | %clean |
---|
61 | rm -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.* |
---|
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 |
---|
82 | * Sat Nov 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.3.1-2 |
---|
83 | - rebuilt with libgcrypt 1.6.0 and gmp 5.1.3 |
---|
84 | - updated URL |
---|
85 | |
---|
86 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3.1-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3.0-1 |
---|
90 | - new upstream release |
---|
91 | |
---|
92 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.1.2-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Wed Oct 5 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.2-1 |
---|
96 | - new upstream release |
---|
97 | - added BR: libgcrypt-devel |
---|
98 | |
---|
99 | * Wed Jan 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.5-1 |
---|
100 | - new upstream release |
---|
101 | |
---|
102 | * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-3 |
---|
103 | - initial build for Vine Linux |
---|
104 | |
---|
105 | * Fri Jul 9 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-2 |
---|
106 | - fixed license tag |
---|
107 | - added license text |
---|
108 | |
---|
109 | * Thu Jul 8 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-1 |
---|
110 | - libktorrent-1.0.2 |
---|
111 | |
---|
112 | * Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.1-1 |
---|
113 | - libktorrent-1.0.1 |
---|
114 | |
---|
115 | * Mon May 24 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-1 |
---|
116 | - libktorrent-1.0.0 |
---|
117 | |
---|
118 | * Wed May 05 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.2.rc1 |
---|
119 | - -devel: Obsoletes: ktorrent-devel |
---|
120 | |
---|
121 | * Mon May 03 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.1.rc1 |
---|
122 | - libktorrent-1.0rc1 |
---|
123 | |
---|