packages: vidma/vidma.spec (NEW) - raw PLD spec

areq areq at pld-linux.org
Sun Feb 27 14:52:49 CET 2011


Author: areq                         Date: Sun Feb 27 13:52:49 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- raw PLD spec

---- Files affected:
packages/vidma:
   vidma.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/vidma/vidma.spec
diff -u /dev/null packages/vidma/vidma.spec:1.1
--- /dev/null	Sun Feb 27 14:52:49 2011
+++ packages/vidma/vidma.spec	Sun Feb 27 14:52:44 2011
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+Summary:	Virtual Disks Manipulator
+Name:		vidma
+Version:	0.0.3
+Release:	0.1
+License:	GPL v2
+Group:		Applications
+#http://download.przemoc.net/vidma
+Source0:	%{name}-%{version}.tar.gz
+# Source0-md5:	c74713d778fb0af6520bdee0cce04a8e
+URL:		https://github.com/przemoc/vidma
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+vidma - Virtual Disks Manipulator
+
+Utility for manipulating virtual disk images. Features:
+- resizing fixed-size images
+- operations can be done in-place
+
+Supported formats:
+- VDI - Virtual Disk Image, used mostly by VirtualBox
+
+%prep
+%setup -q
+
+sed -i 's/^VIDMA_VERSION/#VIDMA_VERSION/' Makefile
+
+%build
+%{__make} \
+	VIDMA_VERSION="%{version}" \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D vidma $RPM_BUILD_ROOT%{_bindir}/vidma
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README.md
+%attr(755,root,root) %{_bindir}/vidma
+
+%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.1  2011/02/27 13:52:44  areq
+- raw PLD spec
+
================================================================


More information about the pld-cvs-commit mailing list