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