Logoj0ke.net Open Build Service > Projects > multimedia > liboil-0_3-0 > Changes
Sign Up | Log In

Changes of Revision 2

[-] Changed liboil.spec
x
 
1
@@ -1,19 +1,16 @@
2
 # norootforbuild
3
 
4
-%if 0%{?suse_version} >= 1030 || 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version}
5
 %define _prefix    /usr
6
-%else
7
-%define _prefix    /opt/gnome
8
-%endif
9
 
10
 Name:          liboil-0_3-0
11
 Summary:       Library of Optimized Inner Loops
12
-Version:       0.3.15
13
-Release:       3
14
+Version:       0.3.16
15
+Release:       15
16
 URL:           http://liboil.freedesktop.org/wiki/
17
 Group:         System/Libraries
18
 License:       Other uncritical OpenSource License
19
-Source:            liboil-%{version}.tar.gz
20
+Source:            http://liboil.freedesktop.org/download/liboil-%{version}.tar.gz
21
+Source90:      liboil-rpmlintrc
22
 Patch0:            liboil-disable-sse.patch
23
 Patch1:            liboil-random-data-warning.patch
24
 BuildRoot:     %{_tmppath}/%{name}-%{version}-build
25
@@ -23,11 +20,12 @@
26
 BuildRequires: sgml-skel
27
 # openSuSE-10.2, 10.3
28
 Provides:      liboil = 0.3.9
29
-#Obsoletes:        liboil <= 0.3.9
30
 # openSuSE-11.0
31
 Provides:      liboil = 0.3.14
32
-Obsoletes:     liboil <= 0.3.14
33
-# old name
34
+# openSuSE-11.1
35
+Provides:      liboil = 0.3.15
36
+Obsoletes:     liboil <= 0.3.15
37
+# old packman name
38
 Provides:      liboil0 = 0.3.15
39
 Obsoletes:     liboil0 <= 0.3.15
40
 
41
@@ -100,18 +98,29 @@
42
 %setup -q -n liboil-%{version}
43
 %patch
44
 %patch1
45
+
46
 autoreconf -fi
47
 
48
 %build
49
 %configure \
50
-   --prefix=%{_prefix} \
51
-   --libdir=%{_prefix}/%{_lib} \
52
    --enable-gtk-doc
53
+
54
+%if %suse_version <= 1100
55
+ln -sf /usr/bin/libtool .
56
+%endif
57
+
58
+# remove standard rpath from oil-bugreport
59
+#%__sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
60
+#%__sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
61
+
62
 %__make %{?jobs:-j%{jobs}}
63
 
64
 %install
65
 %makeinstall
66
 
67
+%check
68
+%__make check
69
+
70
 %clean
71
 [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
72
 
73
@@ -121,15 +130,16 @@
74
 
75
 %files
76
 %defattr (-, root, root)
77
-%doc AUTHORS COPYING NEWS README HACKING BUG-REPORTING
78
-%{_bindir}/*
79
-%{_prefix}/%{_lib}/*.so.*
80
+%doc AUTHORS COPYING NEWS README
81
+%{_libdir}/*.so.*
82
 
83
 %files -n liboil-devel
84
 %defattr (-, root, root)
85
-%{_prefix}/%{_lib}/*.so
86
-%{_prefix}/%{_lib}/*.*a
87
-%{_prefix}/%{_lib}/pkgconfig/*.pc
88
+%doc HACKING BUG-REPORTING
89
+%{_bindir}/*
90
+%{_libdir}/*.*a
91
+%{_libdir}/*.so
92
+%{_libdir}/pkgconfig/*.pc
93
 %{_includedir}/liboil-*
94
 
95
 %files -n liboil-doc
96
Changed liboil-0.3.16.tar.gz ^
[+] Added liboil-rpmlintrc ^