Changes of Revision 2

liblastfm1.changes Renamed
liblastfm.spec -> liblastfm1.spec Changed
x
 
1
@@ -19,7 +19,7 @@
2
 
3
 %define _soversion 1
4
 
5
-Name:           liblastfm
6
+Name:           liblastfm1
7
 Version:        1.0.2
8
 Release:        0
9
 Summary:        A Qt C++ Library for the Last.fm Webservices
10
@@ -33,12 +33,13 @@
11
 # PATCH-FIX-UPSTREAM liblastfm-fix-no-return-in-nonvoid-function.diff
12
 Patch0:         liblastfm-fix-no-return-in-nonvoid-function.diff
13
 
14
+BuildRequires:  gcc-c++
15
 BuildRequires:  cmake
16
 BuildRequires:  kde4-filesystem
17
 
18
 BuildRequires:  fdupes
19
 BuildRequires:  fftw3-devel
20
-BuildRequires:  libqt4-devel >= 4.8.0
21
+BuildRequires:  libqt4-devel
22
 BuildRequires:  libsamplerate-devel
23
 
24
 %description
25
@@ -46,22 +47,13 @@
26
 into your rich desktop software. It is officially supported software developed
27
 by Last.fm staff.
28
 
29
-%package -n liblastfm%{_soversion}
30
-Summary:        A Qt C++ Library for the Last.fm Webservices
31
-Group:          System/Libraries
32
-
33
-%description -n liblastfm%{_soversion}
34
-liblastfm is a collection of libraries to help you integrate Last.fm services
35
-into your rich desktop software. It is officially supported software developed
36
-by Last.fm staff.
37
-
38
-%package -n liblastfm-devel
39
+%package devel
40
 Summary:        Development Files for the Last.fm Webservices
41
 Group:          Development/Libraries/C and C++
42
 Requires:       liblastfm%{_soversion} = %{version}
43
 Requires:       libqt4-devel
44
 
45
-%description -n liblastfm-devel
46
+%description devel
47
 liblastfm is a collection of libraries to help you integrate Last.fm services
48
 into your rich desktop software. It is officially supported software developed
49
 by Last.fm staff.
50
@@ -69,7 +61,7 @@
51
 This package contains development files for liblastfm.
52
 
53
 %prep
54
-%setup -n %{name}-%{version}
55
+%setup -n liblastfm-%{version}
56
 %patch0 -p1
57
 
58
 %build
59
@@ -91,7 +83,7 @@
60
 %{_libdir}/liblastfm.so.*
61
 %{_libdir}/liblastfm_fingerprint.so.*
62
 
63
-%files -n liblastfm-devel
64
+%files devel
65
 %defattr(-,root,root,-)
66
 %{_libdir}/liblastfm.so
67
 %{_libdir}/liblastfm_fingerprint.so
68