]> git.pld-linux.org Git - packages/k9copy.git/blobdiff - k9copy.spec
- up to 1.2.3
[packages/k9copy.git] / k9copy.spec
index 7f71992d5b47c1fbb3925fd2e0b07ae38b58e6e1..9cc9875b406a51cc4a298bc1c5ae5453faa6886e 100644 (file)
@@ -1,55 +1,46 @@
-%define _rc     2
 Summary:       A vamps frontend
-Summary(pl):   Frontend do programu vamps
+Summary(pl.UTF-8):     Frontend do programu vamps
 Name:          k9copy
-Version:       1.0.4
-Release:       %{_rc}.1
+Version:       1.2.3
+Release:       1
 License:       GPL
 Group:         X11/Applications/Multimedia
-Source0:       http://dl.sourceforge.net/k9copy/%{name}-%{version}-%{_rc}.tar.gz
-# Source0-md5: 5b53658a12192c7832059b56daf23385
-URL:           http://k9copy.free.fr/
+Source0:       http://dl.sourceforge.net/k9copy/%{name}-%{version}.tar.gz
+# Source0-md5: 00729b3eba15279142963420cd66d99b
 Patch0:                %{name}-desktop.patch
+URL:           http://k9copy.sourceforge.net/
+BuildRequires: Mesa-libGLU-devel
+BuildRequires: ffmpeg-devel
+BuildRequires: hal-devel
 BuildRequires: kdelibs-devel >= 9:3.0
 BuildRequires: libdvdread-devel
 Requires:      dvd+rw-tools
 Requires:      dvdauthor
 Requires:      vamps
+Obsoletes:     k9copy-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 k9copy is a very easy-to-use GUI for vamps that allows the shrinking
 of DVDs from DVD 9 to DVD 5 under KDE in Linux.
 
-%description -l pl
-k9copy to bardzo ³atwy w u¿yciu graficzny interfejs do programu vamps,
-umo¿liwiaj±cy zmniejszanie obrazów p³yt DVD z DVD 9 do DVD 5 w
-¶rodowisku KDE pod Linuksem.
-
-%package devel
-Summary:       Header files for k9copy library
-Summary(pl):   Pliki nag³ówkowe biblioteki k9copy
-Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
-Requires:      kdelibs-devel >= 9:3.0
-
-%description devel
-Header files for libk3bcore library.
-
-%description devel -l pl
-Pliki nag³ówkowe biblioteki k9copy.
+%description -l pl.UTF-8
+k9copy to bardzo łatwy w użyciu graficzny interfejs do programu vamps,
+umożliwiający zmniejszanie obrazów płyt DVD z DVD 9 do DVD 5 w
+środowisku KDE pod Linuksem.
 
 %prep
-%setup -q -n %{name}-%{version}-%{_rc}
+%setup -q
 %patch0 -p1
 
 %build
-%configure
-%{__make} \
-       CC="%{__cc}" \
-       CXX="%{__cxx}" \
-       CFLAGS="%{rpmcflags}" \
-       CXXFLAGS="%{rpmcflags} -fno-exceptions"
+%configure \
+%if "%{_lib}" == "lib64"
+       --enable-libsuffix=64 \
+%endif
+       --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+       --with-qt-libraries=%{_libdir}
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,8 +49,8 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir},%{_desktopdir}/kde}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        prefix=%{_prefix} \
+       kde_htmldir=%{_kdedocdir} \
        manprefix=%{_mandir}
-mv $RPM_BUILD_ROOT%{_datadir}/applnk/Multimedia/k9copy.desktop $RPM_BUILD_ROOT%{_desktopdir}/kde
 
 %find_lang %{name} --all-name --with-kde
 
@@ -72,13 +63,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/libk9copy.so.*.*.*
+%{_datadir}/apps/k9copy
+%{_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop
 %{_desktopdir}/kde/k9copy.desktop
 %{_iconsdir}/*/*x*/*/k9copy.png
-%{_datadir}/apps/k9copy/k9copyui.rc
-
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libk9copy.so
-%{_libdir}/libk9copy.la
-%{_includedir}/*.h
This page took 0.040461 seconds and 4 git commands to generate.