]> git.pld-linux.org Git - packages/k9copy.git/blobdiff - k9copy.spec
- up to 1.2.3
[packages/k9copy.git] / k9copy.spec
index fa4f0a91b5c05e234a2cb9eb4c08e0f1302f5204..9cc9875b406a51cc4a298bc1c5ae5453faa6886e 100644 (file)
@@ -1,53 +1,46 @@
 Summary:       A vamps frontend
+Summary(pl.UTF-8):     Frontend do programu vamps
 Name:          k9copy
-Version:       1.0.3b
-Release:       0.1
+Version:       1.2.3
+Release:       1
 License:       GPL
-Group:         Applications/Multimedia
-Source0:       http://k9copy.free.fr/file.php?file=%{name}-%{version}.tar.gz
-# Source0-md5: 1eef6d87ff3cf91594c1a32615356cd0
-URL:           http://k9copy.free.fr/
+Group:         X11/Applications/Multimedia
+Source0:       http://dl.sourceforge.net/k9copy/%{name}-%{version}.tar.gz
+# Source0-md5: 00729b3eba15279142963420cd66d99b
 Patch0:                %{name}-desktop.patch
-BuildRequires: dvdauthor
-BuildRequires: kdelibs-devel
-BuildRequires: libdvdcss
-BuildRequires: libdvdnav-devel
-BuildRequires: libdvdread
-BuildRequires: libstdc++-devel
-BuildRequires: m4
-BuildRequires: vamps
+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:      libdvdcss
-Requires:      libdvdnav
-Requires:      libdvdread
 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
+of DVDs from DVD 9 to DVD 5 under KDE in Linux.
 
-%package devel
-Summary:       Header files for k9copy library
-Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
-Requires:      kdelibs-devel
-
-%description devel
-Header files for libk3bcore library.
+%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
 %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
@@ -56,24 +49,21 @@ 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
-echo '%lang(en) /usr/share/locale/en_GB/LC_MESSAGES/k9copy.mo' >> %{name}.lang
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/libk9copy.so.0.0.0
+%{_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)
-%{_libdir}/libk9copy.la
-%{_includedir}/*.h
This page took 0.060137 seconds and 4 git commands to generate.