Group :: Archiving/Other
RPM: kover
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: kover
Summary: WYSIWYG CD cover printer with CDDB support
Version: 3
Release: alt2
Source: %name-%version.tar.bz2
Patch0: %name-fix-mimetypes.patch
Patch1: %name-gcc43.patch
Url: http://lisas.de/kover
Group: Archiving/Other
Packager: Fr. Br. George <george at altlinux.ru>
License: GPLv2 or later
#BuildRequires: kdelibs-devel
#BuildRequires: libcdio-devel
#BuildRequires: libcddb-devel
#BuildRequires: desktop-file-utils
# Automatically added by buildreq on Mon Oct 27 2008
BuildRequires: gcc-c++ gcc-fortran imake kdepim-devel libXt-devel libcddb-devel libcdio-devel libjpeg-devel qt3-designer xml-utils xorg-cf-files desktop-file-utils
%description
Kover is an easy to use WYSIWYG CD cover printer with CDDB support.
%post
%update_menus
#update_icon_cache hicolor
#update_icon_cache locolor
#update_mime_database
%postun
%clean_menus
#clean_icon_cache hicolor
#clean_icon_cache locolor
#clean_mime_database
%files -f %name.lang
%doc AUTHORS README TODO THANKS ChangeLog
%_bindir/kover
%_iconsdir/hicolor/*/apps/*.png
%_iconsdir/locolor/*/apps/*.png
%_datadir/apps/%name
%_mandir/man1/*
%_datadir/applications/%name.desktop
%_datadir/mime/packages/%name.xml
#%_datadir/mimelnk/application/*
#--------------------------------------------------------------------
%prep
%setup -q
%patch1 -p1
%build
%if "%_lib" != "lib"
kdelibsuffix="--enable-libsuffix=%(A=%_lib; echo ${A/lib/})"
%endif
%configure --disable-rpath $kdelibsuffix
%make_build
%install
%makeinstall
mkdir -p %buildroot%_datadir/applications
mv %buildroot%_datadir/applnk/Multimedia/%name.desktop %buildroot%_datadir/applications/%name.desktop
desktop-file-install --vendor="" \
--add-category="Utility" \
--add-category="DiscBurning" \
--add-category="KDE" \
--add-category="Qt" \
--dir %buildroot%_datadir/applications %buildroot%_datadir/applications/*
%find_lang %name
%changelog
…
Full changelog you can see here
Summary: WYSIWYG CD cover printer with CDDB support
Version: 3
Release: alt2
Source: %name-%version.tar.bz2
Patch0: %name-fix-mimetypes.patch
Patch1: %name-gcc43.patch
Url: http://lisas.de/kover
Group: Archiving/Other
Packager: Fr. Br. George <george at altlinux.ru>
License: GPLv2 or later
#BuildRequires: kdelibs-devel
#BuildRequires: libcdio-devel
#BuildRequires: libcddb-devel
#BuildRequires: desktop-file-utils
# Automatically added by buildreq on Mon Oct 27 2008
BuildRequires: gcc-c++ gcc-fortran imake kdepim-devel libXt-devel libcddb-devel libcdio-devel libjpeg-devel qt3-designer xml-utils xorg-cf-files desktop-file-utils
%description
Kover is an easy to use WYSIWYG CD cover printer with CDDB support.
%post
%update_menus
#update_icon_cache hicolor
#update_icon_cache locolor
#update_mime_database
%postun
%clean_menus
#clean_icon_cache hicolor
#clean_icon_cache locolor
#clean_mime_database
%files -f %name.lang
%doc AUTHORS README TODO THANKS ChangeLog
%_bindir/kover
%_iconsdir/hicolor/*/apps/*.png
%_iconsdir/locolor/*/apps/*.png
%_datadir/apps/%name
%_mandir/man1/*
%_datadir/applications/%name.desktop
%_datadir/mime/packages/%name.xml
#%_datadir/mimelnk/application/*
#--------------------------------------------------------------------
%prep
%setup -q
%patch1 -p1
%build
%if "%_lib" != "lib"
kdelibsuffix="--enable-libsuffix=%(A=%_lib; echo ${A/lib/})"
%endif
%configure --disable-rpath $kdelibsuffix
%make_build
%install
%makeinstall
mkdir -p %buildroot%_datadir/applications
mv %buildroot%_datadir/applnk/Multimedia/%name.desktop %buildroot%_datadir/applications/%name.desktop
desktop-file-install --vendor="" \
--add-category="Utility" \
--add-category="DiscBurning" \
--add-category="KDE" \
--add-category="Qt" \
--dir %buildroot%_datadir/applications %buildroot%_datadir/applications/*
%find_lang %name
%changelog
…
Full changelog you can see here