Change license name in spec file (BSD-3-Clause to BSD-2.0)
[platform/upstream/libogg.git] / packaging / libogg.spec
index 3aa1ca1..4a453f8 100644 (file)
@@ -1,12 +1,13 @@
 Name:           libogg
-Version:        1.3.0
+Version:        1.3.2
 Release:        0
-License:        BSD-3-Clause
+License:        BSD-2.0
 Summary:        Ogg Bitstream Library
 Url:            http://www.vorbis.com/
-Group:          System/Libraries
-Source:         %{name}-%{version}.tar.bz2
+Group:          Multimedia/Audio
+Source:         http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.gz
 Source2:        baselibs.conf
+Source1001:    libogg.manifest
 BuildRequires:  pkg-config
 
 %description
@@ -18,7 +19,7 @@ codec ) and the libtheora (Theora video codec)
 
 %package devel
 Summary:        Include Files and Libraries mandatory for Ogg Development
-Group:          Development/Libraries/C and C++
+Group:          Development/Libraries
 Requires:       glibc-devel
 Requires:       libogg = %{version}
 
@@ -28,13 +29,14 @@ to compile and develop applications that use libogg.
 
 %prep
 %setup -q
+cp %{SOURCE1001} .
 
 %build
 # Fix optimization level
 sed -i s,-O20,-O3,g configure
 
 %configure --disable-static
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
 
 
 %check
@@ -44,22 +46,24 @@ make check
 %install
 %make_install
 
+%remove_docs
+
 %post  -p /sbin/ldconfig
 
 %postun  -p /sbin/ldconfig
 
 %files
+%manifest %{name}.manifest
 %defattr(0644,root,root,0755)
-%doc COPYING 
+%license COPYING 
 %{_libdir}/libogg.so.*
 
 %files devel
+%manifest %{name}.manifest
 %defattr(0644,root,root,0755)
-%{_docdir}/%{name}-devel
 %{_includedir}/ogg
 %{_libdir}/libogg.so
 %dir %{_datadir}/aclocal
 %{_datadir}/aclocal/ogg.m4
 %{_libdir}/pkgconfig/ogg.pc
 
-%changelog