packages: dmenu/dmenu.spec (NEW) - initial
uzsolt
uzsolt at pld-linux.org
Sun May 31 18:45:28 CEST 2009
Author: uzsolt Date: Sun May 31 16:45:28 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/dmenu:
dmenu.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/dmenu/dmenu.spec
diff -u /dev/null packages/dmenu/dmenu.spec:1.1
--- /dev/null Sun May 31 18:45:28 2009
+++ packages/dmenu/dmenu.spec Sun May 31 18:45:23 2009
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+Summary: dmenu is a generic menu for X
+Summary(hu.UTF-8): dmenu egy általános menü X-hez
+Name: dmenu
+Version: 4.0
+Release: 0.1
+License: MIT/X
+Group: Applications
+Source0: http://code.suckless.org/dl/tools/%{name}-%{version}.tar.gz
+# Source0-md5: 66e761a653930cc8a21614ba9fedf903
+URL: http://tools.suckless.org/dmenu
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+dynamic menu is a generic menu for X, originally designed for dwm. It
+manages huge amounts (up to 10.000 and more) of user defined menu
+items efficiently.
+
+%description -l hu.UTF-8
+dynamic menu egy általános menü X-hez, eredetileg a dwm-hez készítve.
+Valóban nagy mennyiségű (10.000 és több) felhasználó által definiált
+menüelemet képes hatékonyan kezelni.
+
+%prep
+%setup -q
+sed -i "s@^PREFIX.*@PREFIX=%{_prefix}@" config.mk
+sed -i "s@^\(CFLAGS.*\)-Os\(.*\)@\1 \2 %{rpmcflags}@" config.mk
+sed -i "s@^\(LDFLAGS.*\)@\1 %{rpmldflags}@" config.mk
+
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/dmenu*
+
+%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 2009/05/31 16:45:23 uzsolt
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list