SPECS: nuvexport.spec - PLDized
glen
glen at pld-linux.org
Sun Sep 25 12:54:48 CEST 2005
Author: glen Date: Sun Sep 25 10:54:47 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- PLDized
---- Files affected:
SPECS:
nuvexport.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/nuvexport.spec
diff -u SPECS/nuvexport.spec:1.1 SPECS/nuvexport.spec:1.2
--- SPECS/nuvexport.spec:1.1 Sun Sep 25 12:42:48 2005
+++ SPECS/nuvexport.spec Sun Sep 25 12:54:42 2005
@@ -1,66 +1,80 @@
-#
-# RPM spec file for nuvexport
-#
-
-Name: nuvexport
-Version: 0.2
-Release: 0.20050922.svn
-License: GPL
-Summary: mythtv nuv video file conversion script
-URL: http://forevermore.net/nuvexport/
-Group: Applications/Multimedia
-Source: %{name}-%{version}-%{release}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-# This is a perl script -- no arch needed
-BuildArch: noarch
-
-# Standard nuvexport modules:
-Requires: perl >= 5.6
-Requires: perl-DateManip
-Requires: perl-DBD-MySQL
-Requires: perl-DBI
-Requires: perl-Time-HiRes
-Requires: transcode >= 0.6.12
-Requires: ffmpeg >= 0.4.9
-Requires: mjpegtools >= 1.6.2
-Requires: mplayer
-Requires: divx4linux
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.perl
+Summary: mythtv nuv video file conversion script
+Name: nuvexport
+Version: 0.2
+%define _snap 20050922
+%define _rel 1
+Release: 0.%{_snap}.%{_rel}
+License: GPL
+URL: http://forevermore.net/nuvexport/
+Group: Applications/Multimedia
+Source0: http://forevermore.net/files/nuvexport/%{name}-%{version}-0.%{_snap}.svn.tar.bz2
+# Source0-md5: 67f55c4d8163132fda598828dd351b28
+Patch0: %{name}-DESTDIR.patch
+BuildRequires: rpm-perlprov >= 4.1-13
+#Requires: perl >= 5.6
+#Requires: perl-DateManip
+#Requires: perl-DBD-MySQL
+#Requires: perl-DBI
+#Requires: perl-Time-HiRes
+Requires: transcode >= 0.6.12
+Requires: ffmpeg >= 0.4.9
+Requires: mjpegtools >= 1.6.2
+Requires: mplayer
+Requires: divx4linux
# mpeg2cut needs some others:
-Requires: avidemux2 >= 2
-Requires: lve
+Requires: avidemux2 >= 2
+Requires: lve
# Actually requires the id3tag program, but it lives in this libarary
-Requires: id3lib
-
+Requires: id3lib
# Provides some of its own perl modules -- rpm complains if this isn't included
-Provides: perl(nuvexport::shared_utils)
+#Provides: perl(nuvexport::shared_utils)
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-nuvexport is a perl script wrapper to several encoders, which is capable of
-letting users choose shows from their MythTV database and convert them to one
-of several different formats, including SVCD/DVD mpeg and XviD avi.
+nuvexport is a perl script wrapper to several encoders, which is
+capable of letting users choose shows from their MythTV database and
+convert them to one of several different formats, including SVCD/DVD
+mpeg and XviD avi.
%prep
-%setup
+%setup -q
+%patch0 -p1
%build
%install
-[ %{buildroot} != "/" ] && rm -rf %{buildroot}
-%{makeinstall}
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ prefix=%{_prefix} \
+ bindir=%{_bindir} \
+ datadir=%{_datadir} \
+ mandir=%{_mandir} \
+ sysconfdir=%{_sysconfdir} \
+ OWNER="" \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
-[ %{buildroot} != "/" ] && rm -rf %{buildroot}
-rm -f $RPM_BUILD_DIR/file.list.%{name}
+rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-, root, root)
-%{_bindir}/*
+%defattr(644,root,root,755)
+%doc COPYING
+%config %{_sysconfdir}/*
+%attr(755,root,root) %{_bindir}/*
%{_datadir}/nuvexport/
%{_mandir}/man1/*
-%config %{_sysconfdir}/*
-%doc COPYING
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.2 2005/09/25 10:54:42 glen
+- PLDized
+
* Tue Dec 7 2004 Chris Petersen <rpm at forevermore.net>
- Built first spec
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/nuvexport.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list