]> git.pld-linux.org Git - packages/dvd2avi.git/blobdiff - dvd2avi.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/dvd2avi.git] / dvd2avi.spec
index a56d239fc3890f1b7cef3352f1aec059ea5456b8..89a7ba49c3b10b43ac76aae31cce9e9eff724c8e 100644 (file)
@@ -1,40 +1,45 @@
+%include       /usr/lib/rpm/macros.perl
+%define                _mainver        0.7
+%define                _subver .9
+%define                _ver    %(echo %{_subver} |tr . -)
 Summary:       dvd2avi - conversion tool
-Summary(de):   dvd2avi - ein konversions Tool
-Summary(pl):   dvd2avi - narzêdzie do konwersji
+Summary(de.UTF-8):     dvd2avi - ein konversions Tool
+Summary(pl.UTF-8):     dvd2avi - narzędzie do konwersji
 Name:          dvd2avi
-Version:       0.7
-%define        _ver    %{nil}
-Release:       2
+Version:       %{_mainver}%{_subver}
+Release:       2.2
 License:       GPL
-Group:         Applications
-Source0:       http://dl.sourceforge.net/sourceforge/dvd2avi/%{name}-%{version}%{_ver}.tgz
-# Source0-md5: f296a360f41d4c06a2d60e2a7529f47f
+Group:         X11/Applications
+Source0:       http://dl.sourceforge.net/dvd2avi/%{name}-%{_mainver}%{_ver}.tgz
+# Source0-md5: a8e464ec8ffd02919ba2956ccf53ac68
 Source1:       %{name}.desktop
 Patch0:                %{name}-location.patch
 URL:           http://dvd2avi.sourceforge.net/
-Requires:      perl
-Requires:      perl-Gtk2
-Requires:      perl-Gtk2-GladeXML
+BuildRequires: rpm-perlprov
+Requires:      lsdvd
+Requires:      mencoder
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 DVD2AVI makes conversion of DVDs to AVIs a real breeze.
 
-%description -l de
-DVD2AVI macht eine konversion von einer DVD zum AVI Format zum Kinderspiel.
+%description -l de.UTF-8
+DVD2AVI macht eine konversion von einer DVD zum AVI Format zum
+Kinderspiel.
 
-%description -l pl
-DVD2AVI sprawia, ¿e konwersja z DVD do AVI staje siê lekka jak morska bryza.
+%description -l pl.UTF-8
+DVD2AVI sprawia, że konwersja z DVD do AVI staje się lekka jak morska
+bryza.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n opt/%{name}
 %patch0 -p0
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{perl_vendorarch},%{_datadir}/dvd2avi,%{_desktopdir}}
-install dvd2avi $RPM_BUILD_ROOT%{_bindir}/dvd2avi
-install functions.pm $RPM_BUILD_ROOT%{perl_vendorarch}/functions.pm
+install -d $RPM_BUILD_ROOT{%{_bindir},%{perl_vendorarch}/Dvd2avi,%{_datadir}/dvd2avi,%{_desktopdir}}
+install dvd2avi.pl $RPM_BUILD_ROOT%{_bindir}/dvd2avi
+install functions.pm $RPM_BUILD_ROOT%{perl_vendorarch}/Dvd2avi/Functions.pm
 install dvd2avi.glade $RPM_BUILD_ROOT%{_datadir}/dvd2avi/dvd2avi.glade
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
@@ -45,7 +50,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README INSTALL
 %attr(755,root,root) %{_bindir}/dvd2avi
-%{perl_vendorarch}/functions.pm
+%dir %{perl_vendorarch}/Dvd2avi
+%{perl_vendorarch}/Dvd2avi/*
 %dir %{_datadir}/dvd2avi
-%{_datadir}/dvd2avi/dvd2avi.glade
+%{_datadir}/dvd2avi/*
 %{_desktopdir}/dvd2avi.desktop
This page took 0.09213 seconds and 4 git commands to generate.