Logoj0ke.net Open Build Service > Projects > multimedia > amrnb > Changes
Sign Up | Log In

Changes of Revision 3

[-] Changed amrnb.spec
x
 
1
@@ -1,6 +1,11 @@
2
-%define name    amrnb
3
-%define ver     7.0.0.0
4
-%define rel     1 
5
+# norootforbuild
6
+
7
+%define name      amrnb
8
+%define ver       7.0.0.2
9
+%define rel       1
10
+%define major     3
11
+%define lib       libamrnb
12
+%define libname   %{lib}%{major}
13
 
14
 Name:           %{name}
15
 Summary:        Adaptive Multi-Rate (AMR) Speech Codec
16
@@ -11,16 +16,15 @@
17
 Group:          System/Libraries
18
 Url:            http://www.penguin.cz/~utx/amr
19
 
20
-Source0:        amrnb-7.0.0.0.tar.bz2
21
+Source0:        amrnb-7.0.0.2.tar.bz2
22
+Source1:        26104-700.zip
23
 
24
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
25
+Requires:       %{libname} = %{version}-%{release}
26
 BuildRequires:  glibc-devel
27
 BuildRequires:  gcc
28
 BuildRequires:  wget
29
-
30
-%if 0%{?suse_version} >= 1030
31
 BuildRequires:  unzip
32
-%endif
33
 
34
 %description
35
 Adaptive Multi-Rate Narrow-Band decoder and encoder library.
36
@@ -35,52 +39,81 @@
37
 http://www.3gpp.org/ftp/Specs/html-info/26104.htm
38
 
39
 
40
-%package devel
41
+%package -n %{libname}
42
+Group:          System/Libraries
43
+Summary:        Shared library part of amrnb
44
+Summary(de):    Bibliotheken zu amrnb
45
+Provides:       %{lib} = %{version}-%{release}
46
+
47
+%description -n %{libname}
48
+Adaptive Multi-Rate Narrow-Band decoder and encoder library.
49
+Shared library part (3GPP TS 26.104 V 7.0.0)
50
+
51
+http://www.3gpp.org/ftp/Specs/html-info/26104.htm
52
+
53
+
54
+%description -n %{libname} -l de
55
+Adaptiver Multi-Rate schmalbandige decoding und encoding Bibliothek.
56
+Bibliotheken (3GPP TS 26.104 V 7.0.0)
57
+
58
+http://www.3gpp.org/ftp/Specs/html-info/26104.htm
59
+
60
+
61
+%package -n %{lib}-devel
62
 Summary:        Adaptive Multi-Rate (AMR) Speech Codec Developer Package
63
 Summary(de):    Adaptiver Multi-Rate (AMR) Sprachcodec Entwicklerpaket
64
-Group:          System/Libraries
65
-Requires:       %{name} = %{version}-%{release}
66
+Group:          Development/Libraries/C and C++
67
+Requires:       %{libname} = %{version}-%{release}
68
 Requires:       glibc-devel
69
+Obsoletes:      amrnb-devel
70
+Provides:       amrnb-devel
71
+# Packmandepends: amrnb
72
 
73
-%description devel
74
+%description -n %{lib}-devel
75
 Adaptive Multi-Rate Narrow-Band decoder and encoder library,
76
 Developer Package. (3GPP TS 26.104 V 6.1.0)
77
 
78
 http://www.3gpp.org/ftp/Specs/html-info/26104.htm
79
 
80
-%description devel -l de
81
+%description -n %{lib}-devel -l de
82
 Adaptiver Multi-Rate schmalbandige decoding und encoding Bibliothek,
83
 Entwicklerpaket. (3GPP TS 26.104 V 6.1.0)
84
 
85
 http://www.3gpp.org/ftp/Specs/html-info/26104.htm
86
 
87
+%debug_package
88
+
89
 %prep
90
 %setup
91
+cp %{SOURCE1} .
92
 
93
 %build
94
-%configure
95
-%__make
96
+%{configure}
97
+%{__make} %{?jobs:-j%{jobs}}
98
 
99
 %install
100
 [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
101
-%makeinstall
102
+%{makeinstall}
103
 
104
 %clean
105
 [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
106
 
107
-%post
108
-%run_ldconfig
109
+%post -n %{libname}
110
+%{run_ldconfig}
111
 
112
-%postun
113
-%run_ldconfig
114
+%postun -n %{libname}
115
+%{run_ldconfig}
116
 
117
 %files
118
 %defattr (-, root, root)
119
 %doc AUTHORS ChangeLog COPYING NEWS README TODO readme.txt
120
 %{_bindir}/*
121
+
122
+%files -n %{libname}
123
+%defattr(-,root,root)
124
 %{_libdir}/*.so.*
125
 
126
-%files devel
127
+%files -n %{lib}-devel
128
 %defattr (-, root, root)
129
 %{_includedir}/amrnb
130
 %{_libdir}/*.so
131
Added 26104-700.zip ^
[+] Changed amrnb-7.0.0.2.tar.bz2/ChangeLog ^
[+] Changed amrnb-7.0.0.2.tar.bz2/Makefile.am ^
[+] Changed amrnb-7.0.0.2.tar.bz2/NEWS ^
[+] Changed amrnb-7.0.0.2.tar.bz2/README ^
[+] Changed amrnb-7.0.0.2.tar.bz2/amrnb.spec ^
[+] Changed amrnb-7.0.0.2.tar.bz2/configure ^
[+] Changed amrnb-7.0.0.2.tar.bz2/configure.ac ^
[+] Changed amrnb-7.0.0.2.tar.bz2/prepare_sources.sh.in ^