Logoj0ke.net Open Build Service > Projects > multimedia:EL5 > a52dec > Changes
Sign Up | Log In

Changes of Revision 2

[-] Changed a52dec.spec
x
 
1
@@ -1,8 +1,8 @@
2
+#
3
+# specfile for a52dec
4
+#
5
 # norootforbuild
6
 
7
-%define name      a52dec
8
-%define version   0.7.4
9
-%define release   6
10
 %define major     0
11
 %define lib       liba52
12
 %define libname   %{lib}-%{major}
13
@@ -10,17 +10,16 @@
14
 
15
 Summary:        Library for decoding ATSC A/52 streams
16
 Summary(de):    Bibliothek zum dekodieren von ATSC A/52 Streams
17
-Name:           %{name}
18
-Version:        %{version}
19
-Release:        %{release}
20
+Name:           a52dec
21
+Version:        0.7.5svn
22
+Release:        3
23
 License:        GPL v2 or later
24
 Group:          Productivity/Multimedia/Sound/Utilities
25
-
26
-Source0:        a52dec-0.7.4.tar.bz2
27
-
28
+Source0:        %{name}-%{version}.tar.bz2
29
+Source1:        mm_accel.h
30
+Patch0:         %{name}-compat.diff
31
 URL:            http://liba52.sourceforge.net/
32
-BuildRoot:      /var/tmp/%{name}-%{version}-%{release}
33
-Prefix:         %{_prefix}
34
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
35
 Provides:       a52 = %{version}-%{release}
36
 Obsoletes:      a52 < %{version}-%{release}
37
 BuildRequires:  glibc-devel
38
@@ -45,26 +44,31 @@
39
 Obsoletes:      liba52dec0 < %{version}-%{release}
40
 
41
 %description -n %{libname}
42
-Shared library part of a52dec
43
+liba52 is a free library for decoding ATSC A/52 streams.
44
+Shared library part of a52dec.
45
 
46
 %description -n %{libname} -l de
47
-Bibliotheken zu a52dec
48
+liba52 ist eine frei Biblothek zum dekodieren von ATSC A/52 Streams.
49
+Bibliotheken zu a52dec.
50
 
51
 %package -n %{lib}-devel
52
-Group:          System/Libraries
53
+Group:          Development/Libraries/C and C++
54
 Summary:        Header files and static library for the a52dec library
55
 Summary(de):    Header Dateien und statische Bibliotheken für die a52dec Bibliothek
56
-Requires:       %{libname} = %{version}-%{release}
57
 Provides:       liba52dec-devel = %{version}-%{release}
58
 Obsoletes:      liba52dec-devel < %{version}-%{release}
59
+Requires:       %{libname} = %{version}-%{release}
60
 Requires:       glibc-devel
61
 Requires:       gcc
62
 
63
 %description -n %{lib}-devel
64
-Header files and static library for the a52dec library
65
+Header files and static library for the a52dec library.
66
+Install this package if you want to compile programs using the library.
67
 
68
 %description -n %{lib}-devel -l de
69
-Header Dateien und statische Bibliotheken für die a52dec Bibliothek
70
+Header Dateien und statische Bibliotheken für die a52dec Bibliothek.
71
+Installieren Sie dieses Paket, wenn Sie Programme kompilieren wollen,
72
+die diese Bibliothek verwenden.
73
 
74
 %debug_package
75
 
76
@@ -72,6 +76,7 @@
77
 %prep
78
 
79
 %setup
80
+%patch0 -p1
81
 
82
 %build
83
 %ifarch x86_64 amd64 ia32e
84
@@ -81,29 +86,37 @@
85
 %endif
86
 CC=gcc
87
 export CC CFLAGS
88
-%configure --enable-shared
89
+if [ ! -f configure ]; then
90
+   %{?suse_update_config:%{suse_update_config -f}}
91
+   aclocal
92
+   mkdir .auto
93
+   libtoolize --force
94
+   aclocal -I m4
95
+   autoheader
96
+   automake --gnu --add-missing
97
+   autoconf
98
+   automake
99
+fi
100
+%configure --enable-shared --disable-static
101
 %__make %{?jobs:-j%{jobs}}
102
 
103
 %install
104
 [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
105
+mkdir %{buildroot}
106
 %makeinstall
107
-
108
-find %{buildroot}%{mandir} -type f -exec gzip -9 {} \;
109
+%{__install} -m 644 %{SOURCE1} %{buildroot}%{_includedir}/a52dec/
110
 
111
 %clean
112
 [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
113
 
114
-%post -n %{libname}
115
-/sbin/ldconfig
116
-
117
-%postun -n %{libname}
118
-/sbin/ldconfig
119
+%post -n %{libname} -p /sbin/ldconfig
120
+%postun -n %{libname} -p /sbin/ldconfig
121
 
122
 %files
123
 %defattr(-, root, root)
124
 %doc README ChangeLog AUTHORS HISTORY INSTALL NEWS TODO COPYING
125
 %{_bindir}/*
126
-%{mandir}/man1/*.gz
127
+%{mandir}/man1/*
128
 
129
 %files -n %{libname}
130
 %defattr(-,root,root)
131
@@ -111,10 +124,12 @@
132
 
133
 %files -n %{lib}-devel
134
 %defattr(-,root,root)
135
-%{_includedir}/a52dec
136
+%{_includedir}/a52dec/
137
 %{_libdir}/*.so
138
-%{_libdir}/*.*a
139
+%{_libdir}/*.la
140
+%{_libdir}/pkgconfig/liba52.pc
141
 
142
 %changelog
143
-* Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com>
144
-- import for SLE_10 build
145
+* Wed May 05 2010 Carsten Schoene <cs@linux-administrator.com> - 1.6.1-3
146
+- EL5 import
147
+
148
[+] Added a52dec-compat.diff ^
Deleted a52dec-0.7.4.tar.bz2 ^
Added a52dec-0.7.5svn.tar.bz2 ^
[+] Added mm_accel.h ^