SPECS: dvtm.spec - unicode and iso builds
uzsolt
uzsolt at pld-linux.org
Tue Jan 27 16:51:36 CET 2009
Author: uzsolt Date: Tue Jan 27 15:51:36 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- unicode and iso builds
---- Files affected:
SPECS:
dvtm.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/dvtm.spec
diff -u SPECS/dvtm.spec:1.1 SPECS/dvtm.spec:1.2
--- SPECS/dvtm.spec:1.1 Tue Jan 27 16:37:09 2009
+++ SPECS/dvtm.spec Tue Jan 27 16:51:31 2009
@@ -1,5 +1,5 @@
# $Revision$, $Date$
-Summary: dvtm brings the concept of tiling window management to the console
+Summary: dvtm brings the concept of tiling window management to the console (UTF version)
Summary(hu.UTF-8): dvtm a tiling ablakkezelést valósítja meg konzolon
Name: dvtm
Version: 0.5
@@ -10,6 +10,8 @@
# Source0-md5: 076db11f53440c194cf24deceb469321
URL: http://www.brain-dump.org/projects/dvtm/
BuildRequires: ncurses-devel
+BuildRequires: sed >= 4.0
+Requires: %{name}-common = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -24,34 +26,71 @@
munkát több konzol alapú programmal egyidőben, mint pl. a vim, mutt,
cmus vagy irssi.
+%package common
+Summary: Common files of dvtm
+Summary(hu.UTF-8): A dvtm általános fájljai
+Group: Applications/Terminal
+
+%description common
+Common files of dvtm.
+
+%description common -l hu.UTF-8
+A dvtm általános fájljai
+
+%package iso
+Summary: ISO version of dvtm
+Summary(hu.UTF-8): ISO verzió a dvtm-ből
+Group: Applications/Terminal
+Requires: %{name}-common = %{version}-%{release}
+
+%description iso
+ISO version of dvtm.
+
+%description iso -l hu.UTF-8
+ISO verzió a dvtm-ből.
+
%prep
%setup -q
%{__sed} -i "s@^PREFIX.*@PREFIX = %{_prefix}@ ; \
s@\(^INCS =.*\)@\1 -I/usr/include/ncursesw@" config.mk
%build
+# iso version
+%{__make}
+mv dvtm dvtm-iso
+
# we want unicode
%{__make} unicode
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
+install dvtm-iso $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/dvtm
+
+%files common
%doc README
-%attr(755,root,root) %{_bindir}/dvtm*
+%attr(755,root,root) %{_bindir}/dvtm-status
%{_mandir}/man1/dvtm*
+%files iso
+%attr(755,root,root) %{_bindir}/dvtm-iso
+
%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 2009/01/27 15:51:31 uzsolt
+- unicode and iso builds
+
Revision 1.1 2009/01/27 15:37:09 uzsolt
- initial
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dvtm.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list