]> git.pld-linux.org Git - packages/k9copy.git/blob - k9copy.spec
- up to 1.0.4-beta3
[packages/k9copy.git] / k9copy.spec
1 Summary:        A vamps frontend
2 Summary(pl):    Frontend do programu vamps
3 Name:           k9copy
4 Version:        1.0.4
5 %define _rc     beta3
6 Release:        %{_rc}.1
7 License:        GPL
8 Group:          X11/Applications/Multimedia
9 Source0:        http://osdn.dl.sourceforge.net/sourceforge/k9copy/%{name}-%{version}-%{_rc}.tar.gz
10 # Source0-md5:  22c35067467e5f10dfed391477f79c2a
11 URL:            http://k9copy.free.fr/
12 Patch0:         %{name}-desktop.patch
13 BuildRequires:  kdelibs-devel >= 9:3.0
14 BuildRequires:  libdvdread-devel
15 Requires:       dvd+rw-tools
16 Requires:       dvdauthor
17 Requires:       vamps
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
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 %package devel
30 Summary:        Header files for k9copy library
31 Summary(pl):    Pliki nag³ówkowe biblioteki k9copy
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       kdelibs-devel >= 9:3.0
35
36 %description devel
37 Header files for libk3bcore library.
38
39 %description devel -l pl
40 Pliki nag³ówkowe biblioteki k9copy.
41
42 %prep
43 %setup -q -n %{name}-%{version}-%{_rc}
44 %patch0 -p1
45
46 %build
47 %configure
48 %{__make} \
49         CC="%{__cc}" \
50         CXX="%{__cxx}" \
51         CFLAGS="%{rpmcflags}" \
52         CXXFLAGS="%{rpmcflags} -fno-exceptions"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir},%{_desktopdir}/kde}
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT \
60         prefix=%{_prefix} \
61         manprefix=%{_mandir}
62 mv $RPM_BUILD_ROOT%{_datadir}/applnk/Multimedia/k9copy.desktop $RPM_BUILD_ROOT%{_desktopdir}/kde
63
64 %find_lang %{name} --all-name --with-kde
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/*
75 %attr(755,root,root) %{_libdir}/libk9copy.so.*.*.*
76 %{_desktopdir}/kde/k9copy.desktop
77 %{_iconsdir}/*/*x*/*/k9copy.png
78 %{_datadir}/apps/k9copy/k9copyui.rc
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libk9copy.so
83 %{_libdir}/libk9copy.la
84 %{_includedir}/*.h
This page took 0.054381 seconds and 4 git commands to generate.