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