Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
dialog
dialog.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dialog.spec of Package dialog
# # spec file for package dialog # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: dialog BuildRequires: ncurses-devel #BuildRequires: gpm License: LGPL-2.1+ Url: http://invisible-island.net/dialog/ Version: 1.1 Release: 40 Summary: Menus and Input Boxes for Shell Scripts Group: Development/Libraries/Other Source: dialog-1.1-20080727.tar.bz2 Source1: dialog.ko.po.bz2 Patch: dialog-1.1-20080727.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This program lets you use menus and dialog boxes in shell scripts. %prep %setup -n dialog-1.1-20080727 bzcat %{S:1} > po/ko.po %patch %build CC=gcc LIBS="" CFLAGS="$RPM_OPT_FLAGS -pipe -Wall" for ncurses_conf in ncursesw6-config ncurstesw5-config ; do ncurses_conf=$(type -p $ncurses_conf 2> /dev/null) || continue LIBS="${LIBS:+$LIBS }$($ncurses_conf --libs)" CFLAGS="${CFLAGS:+$CFLAGS }$($ncurses_conf --cflags)" NCURSES_CONFIG=$ncurses_conf export NCURSES_CONFIG break done export CC LIBS CFLAGS %configure \ --enable-nls \ --enable-included-msgs \ --enable-widec \ --with-ncursesw make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install rm -rf %{buildroot}%{_datadir}/locale/mg/ # Malagasy (Malayalam??) rm -rf %{buildroot}%{_datadir}/locale/rm/ # Rhaeto-Romance %find_lang %name %files -f %name.lang %defattr(-,root,root) %doc CHANGES README VERSION COPYING %{_bindir}/dialog %_mandir/man1/dialog.1.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor