From: Anas Nashif Date: Tue, 19 Mar 2013 02:30:16 +0000 (-0700) Subject: Fixed package groups X-Git-Tag: accepted/tizen/common/20141219.104111~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30455cb7926602add491899e870e0c85dfffe7a2;p=platform%2Fupstream%2Flibvorbis.git Fixed package groups --- diff --git a/packaging/libvorbis.changes b/packaging/libvorbis.changes new file mode 100644 index 0000000..20687a6 --- /dev/null +++ b/packaging/libvorbis.changes @@ -0,0 +1,3 @@ +* Mon Mar 18 2013 Anas Nashif upstream/1.3.3@3634c29 +- Fixed package groups + diff --git a/packaging/libvorbis.spec b/packaging/libvorbis.spec index aae6182..0a57a11 100644 --- a/packaging/libvorbis.spec +++ b/packaging/libvorbis.spec @@ -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