]> git.pld-linux.org Git - packages/dvtm.git/commitdiff
- unicode and iso builds
authorZsolt Udvari <uzsolt@pld-linux.org>
Tue, 27 Jan 2009 15:51:31 +0000 (15:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dvtm.spec -> 1.2

dvtm.spec

index 1a9e52bc47ae283f1f0b645715e6ac5ac357a08f..b282495b633c7c1f06d950beb1062e0c06cd02a5 100644 (file)
--- a/dvtm.spec
+++ b/dvtm.spec
@@ -1,4 +1,4 @@
-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
@@ -9,6 +9,8 @@ Source0:        http://www.brain-dump.org/projects/dvtm/%{name}-%{version}.tar.gz
 # 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
@@ -23,24 +25,58 @@ konzolon. Egy konzolos ablakkezelőként próbálja meg könnyűvé tenni a
 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
This page took 0.112468 seconds and 4 git commands to generate.