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

Changes of Revision 2

[-] Changed liboil.spec
x
 
1
@@ -1,151 +1,75 @@
2
-# norootforbuild
3
+# $Id: liboil.spec 6211 2008-03-14 01:18:51Z dag $
4
+# Authority: dag
5
 
6
-%define _prefix    /usr
7
+### EL5 ships with liboil 0.3.8-2.1
8
+# ExclusiveDist: el2 rh7 rh9 el3 el4
9
 
10
-Name:          liboil-0_3-0
11
-Summary:       Library of Optimized Inner Loops
12
-Version:       0.3.16
13
-Release:       15
14
-URL:           http://liboil.freedesktop.org/wiki/
15
-Group:         System/Libraries
16
-License:       Other uncritical OpenSource License
17
-Source:            http://liboil.freedesktop.org/download/liboil-%{version}.tar.gz
18
-Source90:      liboil-rpmlintrc
19
-Patch0:            liboil-disable-sse.patch
20
-Patch1:            liboil-random-data-warning.patch
21
-BuildRoot:     %{_tmppath}/%{name}-%{version}-build
22
-BuildRequires: glibc-devel
23
-BuildRequires: glib2-devel
24
-BuildRequires: gtkdoc
25
-BuildRequires: sgml-skel
26
-# openSuSE-10.2, 10.3
27
-Provides:      liboil = 0.3.9
28
-# openSuSE-11.0
29
-Provides:      liboil = 0.3.14
30
-# openSuSE-11.1
31
-Provides:      liboil = 0.3.15
32
-Obsoletes:     liboil <= 0.3.15
33
-# old packman name
34
-Provides:      liboil0 = 0.3.15
35
-Obsoletes:     liboil0 <= 0.3.15
36
+Summary: Library of Optimized Inner Loops, CPU optimized functions
37
+Name: liboil
38
+Version: 0.3.16
39
+Release: 1
40
+License: LGPL
41
+Group: System Environment/Libraries
42
+URL: http://liboil.freedesktop.org/
43
 
44
-%description
45
-Liboil is a library of simple functions that are optimized for
46
-various CPUs. These functions are generally loops implementing
47
-simple algorithms, such as converting an array of N integers to
48
-floating-point numbers or multiplying and summing an array of N
49
-numbers. Such functions are candidates for significant
50
-optimization using various techniques, especially by using
51
-extended instructions provided by modern CPUs (Altivec, MMX, SSE,
52
-etc.).
53
-
54
-Many multimedia applications and libraries already do similar things
55
-internally. The goal of this project is to consolidate some of the
56
-code used by various multimedia projects, and also make optimizations
57
-easier to use by a broader range of applications.
58
-
59
-Author: David Schleef <ds@schleef.org>
60
-
61
-%package -n liboil-devel
62
-Summary:   Development files for the liboil library
63
-Group:     Development/Libraries/C and C++
64
-Requires:  %{name} = %{version}
65
-Requires:  glib2-devel
66
-Requires:  glibc-devel
67
-
68
-%description -n liboil-devel
69
-Liboil is a library of simple functions that are optimized for
70
-various CPUs. These functions are generally loops implementing
71
-simple algorithms, such as converting an array of N integers to
72
-floating-point numbers or multiplying and summing an array of N
73
-numbers. Such functions are candidates for significant
74
-optimization using various techniques, especially by using
75
-extended instructions provided by modern CPUs (Altivec, MMX, SSE,
76
-etc.).
77
-
78
-Many multimedia applications and libraries already do similar things
79
-internally. The goal of this project is to consolidate some of the
80
-code used by various multimedia projects, and also make optimizations
81
-easier to use by a broader range of applications.
82
-
83
-Author: David Schleef <ds@schleef.org>
84
-
85
-%package -n liboil-doc
86
-Summary:   Documentation for liboil
87
-Group:     Documentation/Other
88
-Requires:  gnome-filesystem
89
-
90
-%description -n liboil-doc
91
-Liboil is a library of simple functions that are optimized for
92
-various CPUs. These functions are generally loops implementing
93
-simple algorithms, such as converting an array of N integers to
94
-floating-point numbers or multiplying and summing an array of N
95
-numbers. Such functions are candidates for significant
96
-optimization using various techniques, especially by using
97
-extended instructions provided by modern CPUs (Altivec, MMX, SSE,
98
-etc.).
99
-
100
-Many multimedia applications and libraries already do similar things
101
-internally. The goal of this project is to consolidate some of the
102
-code used by various multimedia projects, and also make optimizations
103
-easier to use by a broader range of applications.
104
+Source: http://liboil.freedesktop.org/download/liboil-%{version}.tar.gz
105
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
106
 
107
-Author: David Schleef <ds@schleef.org>
108
+BuildRequires: gcc-c++
109
+BuildRequires: glib2-devel
110
 
111
-%debug_package
112
+%description
113
+Liboil is a library of simple functions that are optimized for various CPUs.
114
+These functions are generally loops implementing simple algorithms, such as
115
+converting an array of N integers to floating-poing numbers or multiplying
116
+and summing an array of N numbers. Clearly such functions are candidates for
117
+significant optimization using various techniques, especially by using
118
+extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
119
+
120
+%package devel
121
+Summary: Development files and static library for liboil
122
+Group: Development/Libraries
123
+Requires: %{name} = %{version}, pkgconfig
124
+
125
+%description devel
126
+Liboil is a library of simple functions that are optimized for various CPUs.
127
+These functions are generally loops implementing simple algorithms, such as
128
+converting an array of N integers to floating-poing numbers or multiplying
129
+and summing an array of N numbers. Clearly such functions are candidates for
130
+significant optimization using various techniques, especially by using
131
+extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
132
 
133
 %prep
134
-%setup -q -n liboil-%{version}
135
-%patch
136
-%patch1
137
-
138
-autoreconf -fi
139
+%setup
140
 
141
 %build
142
-%configure \
143
-   --enable-gtk-doc
144
-
145
-%if %suse_version <= 1100
146
-ln -sf /usr/bin/libtool .
147
-%endif
148
-
149
-# remove standard rpath from oil-bugreport
150
-#%__sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
151
-#%__sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
152
-
153
-%__make %{?jobs:-j%{jobs}}
154
+%configure --disable-static
155
+%{__make} %{?_smp_mflags}
156
 
157
 %install
158
-%makeinstall
159
-
160
-%check
161
-%__make check
162
+%{__rm} -rf %{buildroot}
163
+%{__make} install DESTDIR="%{buildroot}"
164
 
165
 %clean
166
-[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
167
+%{__rm} -rf %{buildroot}
168
 
169
 %post -p /sbin/ldconfig
170
-
171
 %postun -p /sbin/ldconfig
172
 
173
 %files
174
-%defattr (-, root, root)
175
-%doc AUTHORS COPYING NEWS README
176
-%{_libdir}/*.so.*
177
-
178
-%files -n liboil-devel
179
-%defattr (-, root, root)
180
-%doc HACKING BUG-REPORTING
181
-%{_bindir}/*
182
-%{_libdir}/*.*a
183
-%{_libdir}/*.so
184
-%{_libdir}/pkgconfig/*.pc
185
-%{_includedir}/liboil-*
186
-
187
-%files -n liboil-doc
188
-%defattr (-, root, root)
189
-%{_datadir}/gtk-doc/html/liboil
190
+%defattr(-, root, root, 0755)
191
+%doc AUTHORS BUG-REPORTING COPYING HACKING NEWS README
192
+%{_bindir}/oil-bugreport
193
+%{_libdir}/liboil-0.3.so.*
194
+
195
+%files devel
196
+%defattr(-, root, root, 0755)
197
+%doc %{_datadir}/gtk-doc/html/liboil/
198
+%{_includedir}/liboil-0.3/
199
+%{_libdir}/liboil-0.3.so
200
+%{_libdir}/pkgconfig/liboil-0.3.pc
201
[+] Deleted liboil-disable-sse.patch ^
[+] Deleted liboil-random-data-warning.patch ^
[+] Deleted liboil-rpmlintrc ^