avatar
Rosa has added 62dd6fc4ef
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "libktorrent-1.1.1.tar.bz2": 69230778265d2d9ce3b5570407abace5c2da36a4
view file @ 62dd6fc4ef
... ... --- /dev/null
... ... +++ b/libktorrent.spec
... ... @@ -0,0 +1,143 @@
1
Name: libktorrent
2
Version: 1.1.1
3
Release: %mkrel 1
4
Summary: BitTorrent program for KDE
5
Group: Networking/File transfer
6
License: GPLv2+
7
Url: http://ktorrent.org/
8
Source0: http://ktorrent.org/downloads/%{version}/%{name}-%{version}.tar.bz2
9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
10
BuildRequires: gmp-devel
11
BuildRequires: kdelibs4-devel
12
BuildRequires: qca2-devel >= 2.0.1
13
BuildRequires: boost-devel
14
15
%description
16
KTorrent is a BitTorrent program for KDE. It's main features are:
17
 o Downloads torrent files
18
 o Upload speed capping, seeing that most people can't upload
19
   infinite amounts of data.
20
 o Internet searching using  The Bittorrent website's search engine
21
 o UDP Trackers
22
23
#-------------------------------------------------------------------------
24
25
%package common
26
Summary:    Common files of libktorrent
27
Group:      System/Libraries
28
Conflicts:  %{_lib}ktorrent1 < 1.0.2 libktorrent1 < 1.0.2
29
30
%description common
31
Common files for libktorrent, used by KTorrent, a BitTorrent program for
32
KDE.
33
34
%files common -f %name.lang
35
%defattr(-,root,root)
36
37
#-------------------------------------------------------------------------
38
39
%define ktorrent_major 3
40
%define libktorrent %mklibname ktorrent %ktorrent_major
41
42
%package -n %libktorrent
43
Summary:    Ktorrent libbrary
44
Group:      System/Libraries
45
Requires:   libktorrent-common >= %{version}
46
47
%description -n %libktorrent
48
KTorrent is a BitTorrent program for KDE. It's main features are:
49
 o Downloads torrent files
50
 o Upload speed capping, seeing that most people can't upload
51
   infinite amounts of data.
52
 o Internet searching using  The Bittorrent website's search engine
53
 o UDP Trackers
54
55
%files -n %libktorrent
56
%defattr(-,root,root)
57
%_kde_libdir/libktorrent.so.%{ktorrent_major}*
58
59
#-------------------------------------------------------------------------
60
61
%package devel
62
Summary: Ktorrent plugin devel headers
63
Group: Networking/File transfer
64
Requires: %{libktorrent} = %{version}
65
66
%description devel
67
Ktorrent plugin devel headers.
68
69
%files devel
70
%defattr(-,root,root)
71
%{_kde_includedir}/*
72
%{_kde_appsdir}/cmake/*/*
73
%{_kde_libdir}/*.so
74
75
#-------------------------------------------------------------------------
76
77
%prep
78
%setup -q -n %name-%version
79
80
%build
81
%cmake_kde4 
82
%make
83
 
84
%install
85
rm -rf %buildroot
86
%makeinstall_std -C build
87
88
%find_lang %{name}
89
90
%clean
91
rm -rf %buildroot
92
93
94
95
%changelog
96
* Thu Apr 28 2011 Funda Wang <fwang@mandriva.org> 1.1.1-1mdv2011.0
97
+ Revision: 659822
98
- new version 1.1.1
99
100
* Wed Mar 16 2011 Funda Wang <fwang@mandriva.org> 1.1.0-1
101
+ Revision: 645474
102
- 1.1.0 final
103
104
* Sun Feb 06 2011 Funda Wang <fwang@mandriva.org> 1.1-0.rc1.1
105
+ Revision: 636453
106
- new version 1.1 rc1
107
108
* Wed Dec 29 2010 Funda Wang <fwang@mandriva.org> 1.0.5-1mdv2011.0
109
+ Revision: 625975
110
- new version 1.0.5
111
112
* Mon Oct 18 2010 Funda Wang <fwang@mandriva.org> 1.0.4-1mdv2011.0
113
+ Revision: 586558
114
- new version 1.0.4
115
116
* Mon Aug 30 2010 Funda Wang <fwang@mandriva.org> 1.0.3-1mdv2011.0
117
+ Revision: 574252
118
- new version 1.0.3
119
120
* Sat Jul 10 2010 Anssi Hannula <anssi@mandriva.org> 1.0.2-2mdv2011.0
121
+ Revision: 550161
122
- split localization to libktorrent-common to avoid file conflicts
123
  (Andrey Borzenkov)
124
125
* Sat Jul 10 2010 Funda Wang <fwang@mandriva.org> 1.0.2-1mdv2011.0
126
+ Revision: 549947
127
- new libmajor
128
- new version 1.0.2
129
130
* Tue Jun 15 2010 Funda Wang <fwang@mandriva.org> 1.0.1-1mdv2010.1
131
+ Revision: 548052
132
- New version 1.0.1
133
134
* Tue May 25 2010 Funda Wang <fwang@mandriva.org> 1.0.0-1mdv2010.1
135
+ Revision: 545839
136
- New version 1.0.0
137
- drop unneeded BRs
138
139
* Tue May 04 2010 Nicolas Lécureuil <nlecureuil@mandriva.com> 1.0-0.rc1.1mdv2010.1
140
+ Revision: 542004
141
- import libktorrent
142
143

Comments