]> git.pld-linux.org Git - packages/k9copy.git/blob - k9copy.spec
- up to 1.2.0
[packages/k9copy.git] / k9copy.spec
1 Summary:        A vamps frontend
2 Summary(pl.UTF-8):      Frontend do programu vamps
3 Name:           k9copy
4 Version:        1.2.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Multimedia
8 Source0:        http://dl.sourceforge.net/k9copy/%{name}-%{version}.tar.gz
9 # Source0-md5:  b98f95a2ecb30a701f88e63294e6dee6
10 Patch0:         %{name}-desktop.patch
11 URL:            http://k9copy.sourceforge.net/
12 BuildRequires:  kdelibs-devel >= 9:3.0
13 BuildRequires:  libdvdread-devel
14 Requires:       dvd+rw-tools
15 Requires:       dvdauthor
16 Requires:       vamps
17 Obsoletes:      k9copy-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 k9copy is a very easy-to-use GUI for vamps that allows the shrinking
22 of DVDs from DVD 9 to DVD 5 under KDE in Linux.
23
24 %description -l pl.UTF-8
25 k9copy to bardzo łatwy w użyciu graficzny interfejs do programu vamps,
26 umożliwiający zmniejszanie obrazów płyt DVD z DVD 9 do DVD 5 w
27 środowisku KDE pod Linuksem.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32
33 %build
34 %configure \
35 %if "%{_lib}" == "lib64"
36         --enable-libsuffix=64 \
37 %endif
38         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
39         --with-qt-libraries=%{_libdir}
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir},%{_desktopdir}/kde}
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT \
48         prefix=%{_prefix} \
49         kde_htmldir=%{_kdedocdir} \
50         manprefix=%{_mandir}
51 mv $RPM_BUILD_ROOT%{_datadir}/applnk/Multimedia/k9copy.desktop $RPM_BUILD_ROOT%{_desktopdir}/kde
52
53 %find_lang %{name} --all-name --with-kde
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post   -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
60
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/apps/k9copy
65 %{_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop
66 %{_desktopdir}/kde/k9copy.desktop
67 %{_iconsdir}/*/*x*/*/k9copy.png
This page took 0.036668 seconds and 3 git commands to generate.