]> git.pld-linux.org Git - packages/cursedmenu.git/blob - cursedmenu.spec
- rel 6; build fixed
[packages/cursedmenu.git] / cursedmenu.spec
1 Summary:        ncurses based menu system for character based sessions
2 Summary(pl.UTF-8):      oparty o ncurses system menu dla sesji terminalowych
3 Name:           cursedmenu
4 Version:        1.0.4
5 Release:        6
6 License:        GPL v3
7 Group:          Applications
8 Source0:        http://dl.sourceforge.net/cursedmenu/%{name}-%{version}.tar.bz2
9 # Source0-md5:  31e9353ba603b95df3b742bfa3a0ed87
10 Patch0:         %{name}-gcc43.patch
11 Patch1:         %{name}-build.patch
12 URL:            http://cursedmenu.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool
17 BuildRequires:  ncurses-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Cursed Menu aims to create an ncurses based menu system for character
22 based sessions. This menu program could be used to create user, system
23 administration, or utility menus for clients connecting with text
24 based clients such as telnet, ssh, or rlogin.
25
26 %description -l pl.UTF-8
27 Cursed Menu ma na celus tworzenie opartego o ncurses systemu menu dla
28 sesji tekstowych. Program ten pozwala na stworzenie menu uzytkownika,
29 administratora lub innych dla klientów korzystających z sesji
30 tekstowych, takich jak telnet, ssh czy rlogin.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 CPPFLAGS="%{rpmcflags} -I/usr/include/ncurses"
39 export CPPFLAGS
40 %{__libtoolize}
41 %{__aclocal}
42 %{__autoconf}
43 %{__autoheader}
44 %{__automake}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog src/{default.cmd,sub.cmd,sub2.cmd}
60 %attr(755,root,root) %{_bindir}/*
This page took 0.120244 seconds and 4 git commands to generate.