packages: dwm/dwm.spec (NEW) - initial revision

lisu lisu at pld-linux.org
Mon Dec 27 11:05:15 CET 2010


Author: lisu                         Date: Mon Dec 27 10:05:15 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial revision

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

---- Diffs:

================================================================
Index: packages/dwm/dwm.spec
diff -u /dev/null packages/dwm/dwm.spec:1.1
--- /dev/null	Mon Dec 27 11:05:15 2010
+++ packages/dwm/dwm.spec	Mon Dec 27 11:05:10 2010
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary:	Dynamic window manager for X
+Name:		dwm
+Version:	5.8.2
+Release:	1
+License:	MIT
+Group:		X11/Window Managers
+Source0:	http://dl.suckless.org/dwm/%{name}-%{version}.tar.gz
+# Source0-md5:	f0b422bfeaa812d66c6dd15c3cc92a6b
+Patch0:		%{name}-flags.patch
+URL:		http://dwm.suckless.org/
+#BuildRequires:	-
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+dwm is a dynamic window manager for X. It manages windows in tiled,
+monocle and floating layouts. All of the layouts can be applied
+dynamically, optimising the environment for the application in use and
+the task performed.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	OPTFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	PREFIX=%{_prefix} \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/dwm
+%{_mandir}/man1/dwm.1*
+
+%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  2010/12/27 10:05:10  lisu
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list