All pastes #49434 Raw Edit

Unnamed

public text v1 · immutable
#49434 ·published 2006-04-15 19:28 UTC
rendered paste body
# Packmangroup: Multimedia
# Packmanpackagename: k9copy
# Packman: Detlef Reichelt
# Packmandepends: dvdauthor vamps

%define name    k9copy
%define version 1.0.31
%define release 0.pm.0


BuildRequires: kdelibs-devel 
# update-desktop-files

Name:         %{name}
License:      GPL
Group:        X11/Applications/Multimedia
Summary:      k9copy is a DVD backup utility
Summary(de):  k9copy ist ein DVD-Backupprogramm
Version:      %{version}
Release:      %{release}
URL:          http://k9copy.free.fr/

Packager:       Detlef Reichelt <detlef@links2linux.de>
Vendor:         Packman
Distribution:   SuSE Linux 9.2 (i586)

BuildRoot:    %{_tmppath}/%{name}-%{version}-build

Source0:      %{name}-%{version}.tar.bz2

Requires:     libdvdread dvdauthor vamps

%description
K9Copy is a small utility which allows the copy of DVD on Linux.
The DVD video stream is compressed by the program Vamps.

%prep
# extract the source and go into the kvpnc-0.7.2 directory
%setup -q

# source the standard build enviroment as defined in kdelibs3 package
. /etc/opt/kde3/common_options
# replace the admin/ folder with the version from kdelibs3 (will work for sure with
# current autoconf and automake) and create Makefile.in and configure script.
update_admin --no-unsermake

%build
# source the standard build enviroment as defined in kdelibs3 package
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
# do compile with the number of jobs given to the --jobs parameter of the build script.
make %{?jobs:-j%jobs}

%install
iconv -f iso8859-1 -t utf-8 src/kvpnc.desktop > w && mv w src/kvpnc.desktop
# install all files into the BuildRoot
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT/opt/kde3/share/doc/HTML/kvpnc

# delete k3b-stuff
rm -f $RPM_BUILD_ROOT/opt/kde3/%{_lib}/libk3bdevice.*

# updates the .desktop file. It applys additional translations and Categories for a 
# proper position in the KDE menu
%suse_update_desktop_file k9copy KDE Application AudioVideo DiscBurningMultimedia
# does find all localisation files and adds proper database attributes to them
%find_lang %name

%clean
# clean up the hard disc after build
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%dir /opt/kde3/share/icons/hicolor/16x16/apps
%dir /opt/kde3/share/icons/hicolor/32x32/apps
/opt/kde3/bin/k9copy
/opt/kde3/share/appl*/*/k9copy.desktop
/opt/kde3/share/apps/k9copy
/opt/kde3/share/icons/*/*/*/k9copy*.png
/opt/kde3/include/k9backupdlg.h
/opt/kde3/include/k9cell.h
/opt/kde3/include/k9cellcopylist.h
/opt/kde3/include/k9dvd.h
/opt/kde3/include/k9dvdauthor.h
/opt/kde3/include/k9dvdbackup.h
/opt/kde3/include/k9dvdprogress.h
/opt/kde3/include/k9dvdtitle.h
/opt/kde3/include/k9common.h
/opt/kde3/include/k9dvdsize.h
/opt/kde3/include/k9ifo.h
/opt/kde3/%{_lib}/libk9copy.la
/opt/kde3/%{_lib}/libk9copy.so.0.0.0
				 
%changelog
* Wed Dec 21 2005 Detlef Reichelt <dele@links2linux.de>
- update to 1.0.2
* Wed Nov 3  2005 Detlef Reichelt <dele@links2linux.de>
- update to 1.0.1
- don't install k3b-libs
* Mon Oct 31 2005 Detlef Reichelt <dele@links2linux.de>
- first build for packman