k9copy-vlmp.spec


※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。

%define name k9copy
%define version 1.1.3
%define release 0vlmp2

%define vampsversion 0.99.2

Summary: Video DVD backup tool
Summary(ja): DVD ShrinkのようなDVDリッピングツール
Name: %{name}
Version: %{version}
Release: %{release}
Source: http://dl.sf.net/k9copy/%{name}-%{version}.tar.gz
Source1: http://dl.sf.net/vamps/vamps-%{vampsversion}.tar.gz
Source11: k9copy.desktop
Source12: k9copy.png
License: GPL
Group: Applications/Multimedia
URL: http://k9copy.sourceforge.net/

Prereq: ldconfig, desktop-file-utils
Requires: XOrg, XOrg-gl, kdelibs, qt, libdvdread
Requires: libjpeg, libpng, dbus, hal
Requires: mplayer, dvd+rw-tools, dvdauthor
BuildRequires: XOrg-devel, XOrg-gl-devel
BuildRequires: kdelibs-devel, qt-devel, libdvdread-devel
BuildRequires: libjpeg-devel, libpng-devel, dbus-devel, hal-devel
BuildRequires: arts-devel, fam-devel, libart_lgpl-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Vendor: none
Distribution: none
Packager: hiroyuki <hiroyuki12@gmail.com>

%description
k9copy is a DVD backup utility which allows copying of one or more titles
from a 9.6 GB DVD to a normal DVD.

%desctiption -l ja
k9copyはDVDリッピングユーティリティーで,
片面2層DVDを片面1層DVDに1つあるいは複数のチャプターを
コピーすることができます.

%prep
%{__rm} -rf %{buildroot}

#%setup -q -a 1 -c %{name}-%{version}
%setup -q -a 1

%build
source /etc/profile.d/qt.sh
%configure
%{__make} -C vamps-%{vampsversion} %{?_smp_mflags} \
    PREFIX="%{_prefix}" CFLAGS="%{optflags} -DHAVE_BUILTIN_EXPECT"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
source /etc/profile.d/qt.sh
%{__make} install -C vamps-%{vampsversion} PREFIX="%{buildroot}%{_prefix}"
%{__make} install DESTDIR="%{buildroot}"
%find_lang %{name}

# for Gnome menu
install -d %{buildroot}%{_datadir}/applications
install -m 644 %{SOURCE11} %{buildroot}%{_datadir}/applications/
install -d %{buildroot}%{_datadir}/pixmaps
install -m 644 %{SOURCE12} %{buildroot}%{_datadir}/pixmaps/

%post
/sbin/ldconfig
%{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:

%postun
/sbin/ldconfig
%{_bindir}/update-desktop-database %{_datadir}/applications >& /dev/null ||:

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc %{_docdir}/HTML/*/k9copy/
%{_bindir}/*
#%{_libdir}/libk9copy.so*
%{_datadir}/applnk/Multimedia/k9copy.desktop
%{_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop
%{_datadir}/apps/k9copy
%{_datadir}/icons/*/*/*/*
%exclude %{_includedir}
%config (missingok) %{_datadir}/applications/k9copy.desktop
%{_datadir}/pixmaps/k9copy.png


%changelog
* Sun Sep 30 2007 hiroyuki <hiroyuki12@gmail.com> 1.1.3-0vlmp3
- add BuildRequires: arts-devel, fam-devel, libart_lgpl-devel

* Sat Aug 25 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.1.3-0vlmp2
- add Requires: mplayer, dvd+rw-tools, dvdauthor

* Thu Aug 16 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.1.3-0vlmp1
- new upstream release

* Mon Aug 6 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.1.2-0vlmp1
- new upstream release

* Sat Jun 30 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.1.1-3vlmp2
- add k9copy.desktop for Gnome
- depend Prereq: ldconfig, desktop-file-utils

* Sat Jun 23 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.1.1-3vlmp1
- initial build for Vine Linux 4.1

# Fedora Core 7
* Sat May 19 2007 Gustavo Maciel Dias Vieira <gustavo@sagui.org> - 1.1.1-3-1
- First version.

# Fedora Core !?
* Sun Mar 11 2007 Dag Wieers <dag@wieers.com> - 1.1.0-1
- Initial package. (using DAR)
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。