Fixed package groups
authorAnas Nashif <anas.nashif@intel.com>
Tue, 19 Mar 2013 02:30:16 +0000 (19:30 -0700)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Fri, 12 Dec 2014 15:56:57 +0000 (16:56 +0100)
packaging/libvorbis.changes [new file with mode: 0644]
packaging/libvorbis.spec

diff --git a/packaging/libvorbis.changes b/packaging/libvorbis.changes
new file mode 100644 (file)
index 0000000..20687a6
--- /dev/null
@@ -0,0 +1,3 @@
+* Mon Mar 18 2013 Anas Nashif <anas.nashif@intel.com> upstream/1.3.3@3634c29
+- Fixed package groups
+
index aae6182..0a57a11 100644 (file)
@@ -4,7 +4,7 @@ Release:        0
 License:        BSD-3-Clause
 Summary:        The Vorbis General Audio Compression Codec
 Url:            http://www.vorbis.com/
-Group:          System/Libraries
+Group:          Multimedia/Audio
 Source:         %{name}-%{version}.tar.xz
 Source2:        baselibs.conf
 BuildRequires:  fdupes
@@ -24,7 +24,7 @@ libmatroska (matroska) can also be used.
 %package -n libvorbisenc
 
 Summary:        The Vorbis General Audio Compression Codec
-Group:          System/Libraries
+Group:          Multimedia/Audio
 
 %description -n libvorbisenc
 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
@@ -37,7 +37,7 @@ libmatroska (matroska) can also be used.
 %package -n libvorbisfile
 
 Summary:        The Vorbis General Audio Compression Codec
-Group:          System/Libraries
+Group:          Multimedia/Audio
 
 %description -n libvorbisfile
 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
@@ -49,7 +49,7 @@ libmatroska (matroska) can also be used.
 
 %package devel
 Summary:        Include Files and Libraries mandatory for Ogg Vorbis Development
-Group:          Development/Libraries/C and C++
+Group:          Development/Libraries
 Requires:       glibc-devel
 Requires:       libogg-devel
 Requires:       libvorbis = %{version}
@@ -60,15 +60,6 @@ Requires:       libvorbisfile = %{version}
 This package contains all necessary include files and libraries needed
 to compile and develop applications that use libvorbis.
 
-%package doc
-Summary:        Documentation of Ogg/Vorbis library
-Group:          Documentation/Other
-BuildArch:      noarch
-
-%description doc
-This package contains documents for Ogg/Vorbis library, including the
-API reference.
-
 %prep
 %setup -q
 
@@ -88,10 +79,8 @@ make check
 mkdir -p %{buildroot}%{_docdir}/%{name}
 mv %{buildroot}%{_datadir}/doc/libvorbis-* %{buildroot}%{_docdir}/%{name}
 install -c -m 0644 doc/Vorbis_I_spec.* %{buildroot}%{_docdir}/%{name}
-# remove unneeded files
-find %{buildroot}%{_docdir}/ -empty -delete
-%fdupes -s %{buildroot}%{_docdir}
 
+%remove_docs
 
 %post  -p /sbin/ldconfig
 
@@ -128,8 +117,4 @@ find %{buildroot}%{_docdir}/ -empty -delete
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc
 
-%files doc
-%defattr(-,root,root)
-%doc %{_docdir}/%{name}
-
 %changelog