]> git.pld-linux.org Git - packages/k9copy.git/blob - k9copy.spec
- added k9copy.desktop.patch
[packages/k9copy.git] / k9copy.spec
1 Summary:        A vamps frontend
2 Name:           k9copy
3 Version:        1.0.3b
4 Release:        0.1
5 License:        GPL
6 Group:          Applications/Multimedia
7 Source0:        http://k9copy.free.fr/file.php?file=%{name}-%{version}.tar.gz
8 # Source0-md5:  1eef6d87ff3cf91594c1a32615356cd0
9 URL:            http://k9copy.free.fr/
10 Patch0:         %{name}-desktop.patch
11 BuildRequires:  dvdauthor
12 BuildRequires:  kdelibs-devel
13 BuildRequires:  libdvdcss
14 BuildRequires:  libdvdnav-devel
15 BuildRequires:  libdvdread
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  m4
18 BuildRequires:  vamps
19 Requires:       dvd+rw-tools
20 Requires:       dvdauthor
21 Requires:       libdvdcss
22 Requires:       libdvdnav
23 Requires:       libdvdread
24 Requires:       vamps
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 k9copy is a very easy-to-use GUI for vamps that allows the shrinking
29 of DVDs from DVD 9 to DVD 5 under KDE in Linux
30
31 %package devel
32 Summary:        Header files for k9copy library
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       kdelibs-devel
36
37 %description devel
38 Header files for libk3bcore library.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %build
45 %configure
46 %{__make} \
47         CC="%{__cc}" \
48         CXX="%{__cxx}" \
49         CFLAGS="%{rpmcflags}" \
50         CXXFLAGS="%{rpmcflags} -fno-exceptions"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir},%{_desktopdir}/kde}
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT \
58         prefix=%{_prefix} \
59         manprefix=%{_mandir}
60 mv $RPM_BUILD_ROOT%{_datadir}/applnk/Multimedia/k9copy.desktop $RPM_BUILD_ROOT%{_desktopdir}/kde
61
62 %find_lang %{name} --all-name --with-kde
63 echo '%lang(en) /usr/share/locale/en_GB/LC_MESSAGES/k9copy.mo' >> %{name}.lang
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_bindir}/*
71 %attr(755,root,root) %{_libdir}/libk9copy.so.0.0.0
72 %{_desktopdir}/kde/k9copy.desktop
73 %{_iconsdir}/*/*x*/*/k9copy.png
74 %{_datadir}/apps/k9copy/k9copyui.rc
75
76 %files devel
77 %defattr(644,root,root,755)
78 %{_libdir}/libk9copy.la
79 %{_includedir}/*.h
This page took 0.061959 seconds and 4 git commands to generate.