diff --git a/k3b.spec b/k3b.spec index cd76f67..e253182 100644 --- a/k3b.spec +++ b/k3b.spec @@ -1,8 +1,8 @@ %define dirver %(echo %version | sed "s,alpha.*,,;s,rc.*,,") - +%define pkgver %(echo %version | sed "s|[a-z]||") Name: k3b -Version: 2.0.2 -Release: 3mamba +Version: 2.0.3a +Release: 2mamba Summary: The CD/DVD/Blu-Ray Creator for KDE License: GPL Group: Graphical Desktop/Applications/Multimedia @@ -10,39 +10,39 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.k3b.org -Source: http://downloads.sourceforge.net/project/k3b/k3b/%{version}/k3b-%{version}.tar.bz2 +Source: http://download.kde.org/stable/k3b/k3b-%{version}.tar.xz Patch0: %{name}-1.0.4-configure_ffmpeg.patch Patch1: k3b-2.0.2-ffmpeg.patch ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: kdelibs-devel -BuildRequires: libavcodec-ffmpeg-devel -BuildRequires: libavformat-ffmpeg-devel -BuildRequires: libavutil-ffmpeg-devel -BuildRequires: libdvdread-devel -BuildRequires: libflac-devel -BuildRequires: libgcc BuildRequires: libICE-devel -BuildRequires: libkcddb-devel -BuildRequires: liblame-devel -BuildRequires: libmad-devel -BuildRequires: libmpcdec-devel -BuildRequires: libmusicbrainz2-devel -BuildRequires: libogg-devel -BuildRequires: libqt4-devel -BuildRequires: libsamplerate-devel BuildRequires: libSM-devel -BuildRequires: libsndfile-devel -BuildRequires: libsoprano-devel -BuildRequires: libstdc++6-devel -BuildRequires: libtag-devel -BuildRequires: libvorbis-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXpm-devel +BuildRequires: libavcodec-ffmpeg-devel +BuildRequires: libavformat-ffmpeg-devel +BuildRequires: libavutil-ffmpeg-devel +BuildRequires: libdvdread-devel +BuildRequires: libflac-devel +BuildRequires: libgcc +BuildRequires: libkcddb-devel +BuildRequires: liblame-devel +BuildRequires: libmad-devel +BuildRequires: libmusepack-devel +BuildRequires: libmusicbrainz2-devel +BuildRequires: libogg-devel +BuildRequires: libqt4-devel +BuildRequires: libsamplerate-devel +BuildRequires: libsndfile-devel +BuildRequires: libsoprano-devel +BuildRequires: libstdc++6-devel +BuildRequires: libtag-devel +BuildRequires: libvorbis-devel ## AUTOBUILDREQ-END BuildRequires: gettext-devel BuildRequires: zlib-devel @@ -59,58 +59,6 @@ Requires: sox Requires: vcdimager Requires: dvd+rw-tools Requires: kdebase-runtime >= %{_kde4_version} -Obsoletes: k3b-i18n-af -Obsoletes: k3b-i18n-ar -Obsoletes: k3b-i18n-bg -Obsoletes: k3b-i18n-br -Obsoletes: k3b-i18n-bs -Obsoletes: k3b-i18n-ca -Obsoletes: k3b-i18n-cy -Obsoletes: k3b-i18n-cs -Obsoletes: k3b-i18n-da -Obsoletes: k3b-i18n-de -Obsoletes: k3b-i18n-el -Obsoletes: k3b-i18n-en_GB -Obsoletes: k3b-i18n-es -Obsoletes: k3b-i18n-et -Obsoletes: k3b-i18n-eu -Obsoletes: k3b-i18n-fa -Obsoletes: k3b-i18n-fi -Obsoletes: k3b-i18n-fr -Obsoletes: k3b-i18n-ga -Obsoletes: k3b-i18n-gl -Obsoletes: k3b-i18n-he -Obsoletes: k3b-i18n-hi -Obsoletes: k3b-i18n-hu -Obsoletes: k3b-i18n-it -Obsoletes: k3b-i18n-is -Obsoletes: k3b-i18n-ja -Obsoletes: k3b-i18n-km -Obsoletes: k3b-i18n-lt -Obsoletes: k3b-i18n-mk -Obsoletes: k3b-i18n-ms -Obsoletes: k3b-i18n-nb -Obsoletes: k3b-i18n-nds -Obsoletes: k3b-i18n-ne -Obsoletes: k3b-i18n-nl -Obsoletes: k3b-i18n-nn -Obsoletes: k3b-i18n-pa -Obsoletes: k3b-i18n-pl -Obsoletes: k3b-i18n-pt_BR -Obsoletes: k3b-i18n-pt -Obsoletes: k3b-i18n-ru -Obsoletes: k3b-i18n-rw -Obsoletes: k3b-i18n-se -Obsoletes: k3b-i18n-sk -Obsoletes: k3b-i18n-sr -Obsoletes: k3b-i18n-sr@Latn -Obsoletes: k3b-i18n-sv -Obsoletes: k3b-i18n-ta -Obsoletes: k3b-i18n-tr -Obsoletes: k3b-i18n-uk -Obsoletes: k3b-i18n-uz -Obsoletes: k3b-i18n-zh_CN -Obsoletes: k3b-i18n-zh_TW BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -146,6 +94,13 @@ It has an extremely easy to use interface and supports many features: This package contains static libraries and header files need for development. +%package -n k3b-i18n-ca +Summary: Catalan language support for %{name} +Group: System/Internationalization + +%description -n k3b-i18n-ca +Catalan language support for %{name}. + %package -n k3b-i18n-de Summary: German language support for %{name} Group: System/Internationalization @@ -174,6 +129,13 @@ Group: System/Internationalization %description -n k3b-i18n-fr French language support for %{name}. +%package -n k3b-i18n-it +Summary: Italian language support for %{name} +Group: System/Internationalization + +%description -n k3b-i18n-it +Italian language support for %{name}. + %package -n k3b-i18n-nl Summary: Dutch language support for %{name} Group: System/Internationalization @@ -210,8 +172,8 @@ Group: System/Internationalization Ukrainian language support for %{name}. %prep -%setup -q -n %{name}-%{dirver} -%patch1 -p1 +%setup -q -n %{name}-%{pkgver} +#%patch1 -p1 %build %cmake_kde4 -d build @@ -290,35 +252,57 @@ exit 0 %{_kde4_libdir}/libk3blib.so %doc ChangeLog FAQ PERMISSIONS README -#%files -n k3b-i18n-de -#%defattr(-,root,root) -#%{_kde4_htmldir}/de/k3b +%files -n k3b-i18n-ca +%defattr(-,root,root) +%{_kde4_htmldir}/ca/k3b -#%files -n k3b-i18n-es -#%defattr(-,root,root) -#%{_kde4_htmldir}/es/k3b +%files -n k3b-i18n-de +%defattr(-,root,root) +%{_kde4_htmldir}/de/k3b -#%files -n k3b-i18n-et -#%defattr(-,root,root) -#%{_kde4_htmldir}/et/k3b +%files -n k3b-i18n-es +%defattr(-,root,root) +%{_kde4_htmldir}/es/k3b -#%files -n k3b-i18n-fr -#%defattr(-,root,root) -#%{_kde4_htmldir}/fr/k3b +%files -n k3b-i18n-et +%defattr(-,root,root) +%{_kde4_htmldir}/et/k3b -#%files -n k3b-i18n-nl -#%defattr(-,root,root) -#%{_kde4_htmldir}/nl/k3b +%files -n k3b-i18n-fr +%defattr(-,root,root) +%{_kde4_htmldir}/fr/k3b + +%files -n k3b-i18n-it +%defattr(-,root,root) +%{_kde4_htmldir}/it/k3b + +%files -n k3b-i18n-nl +%defattr(-,root,root) +%{_kde4_htmldir}/nl/k3b + +%files -n k3b-i18n-pt +%defattr(-,root,root) +%{_kde4_htmldir}/pt/k3b + +%files -n k3b-i18n-pt_BR +%defattr(-,root,root) +%{_kde4_htmldir}/pt_BR/k3b #%files -n k3b-i18n-sv #%defattr(-,root,root) #%{_kde4_htmldir}/sv/k3b -#%files -n k3b-i18n-uk -#%defattr(-,root,root) -#%{_kde4_htmldir}/uk/k3b +%files -n k3b-i18n-uk +%defattr(-,root,root) +%{_kde4_htmldir}/uk/k3b %changelog +* Fri Nov 21 2014 Silvan Calarco 2.0.3a-2mamba +- remove old obsoletes for i18n packages + +* Wed Nov 05 2014 Silvan Calarco 2.0.3a-1mamba +- update to 2.0.3a + * Wed Nov 07 2012 Silvan Calarco 2.0.2-3mamba - ffmpeg 0.10 mass rebuild