[yast-commit] r60630 - in /branches/tmp/bubli/ncurses: Makefile.am Makefile.cvs RPMNAME configure.in configure.in.in libyui-ncurses.spec.in yast2-ncurses.spec.in
Author: kmachalkova Date: Fri Jan 29 18:35:22 2010 New Revision: 60630 URL: http://svn.opensuse.org/viewcvs/yast?rev=60630&view=rev Log: Files in, files out Added: branches/tmp/bubli/ncurses/Makefile.am branches/tmp/bubli/ncurses/configure.in branches/tmp/bubli/ncurses/libyui-ncurses.spec.in Removed: branches/tmp/bubli/ncurses/configure.in.in branches/tmp/bubli/ncurses/yast2-ncurses.spec.in Modified: branches/tmp/bubli/ncurses/Makefile.cvs branches/tmp/bubli/ncurses/RPMNAME Added: branches/tmp/bubli/ncurses/Makefile.am URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/ncurses/Makefile.am?rev=60630&view=auto ============================================================================== --- branches/tmp/bubli/ncurses/Makefile.am (added) +++ branches/tmp/bubli/ncurses/Makefile.am Fri Jan 29 18:35:22 2010 @@ -0,0 +1,19 @@ +# +# Makefile.am for libyui +# + +SUBDIRS = src + +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip + +EXTRA_DIST = MAINTAINER RPMNAME VERSION + +$(RPMNAME)-$(VERSION).tar.bz2: dist-bzip2 + +package-local: $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + +package: package-local Modified: branches/tmp/bubli/ncurses/Makefile.cvs URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/ncurses/Makefile.cvs?rev=60630&r1=60629&r2=60630&view=diff ============================================================================== --- branches/tmp/bubli/ncurses/Makefile.cvs (original) +++ branches/tmp/bubli/ncurses/Makefile.cvs Fri Jan 29 18:35:22 2010 @@ -2,16 +2,17 @@ # Makefile.cvs # -LIB = $(shell y2tool get-lib) +#LIB = $(shell y2tool get-lib) PREFIX = /usr configure: all - ./configure --prefix=$(PREFIX) --libdir=$(PREFIX)/$(LIB) + ./configure --prefix=$(PREFIX) all: - y2tool y2autoconf - y2tool y2automake + aclocal + autoconf + autoheader autoreconf --force --install install: configure Modified: branches/tmp/bubli/ncurses/RPMNAME URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/ncurses/RPMNAME?rev=60630&r1=60629&r2=60630&view=diff ============================================================================== --- branches/tmp/bubli/ncurses/RPMNAME (original) +++ branches/tmp/bubli/ncurses/RPMNAME Fri Jan 29 18:35:22 2010 @@ -1 +1 @@ -yast2-ncurses +libyui-ncurses Added: branches/tmp/bubli/ncurses/configure.in URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/ncurses/configure.in?rev=60630&view=auto ============================================================================== --- branches/tmp/bubli/ncurses/configure.in (added) +++ branches/tmp/bubli/ncurses/configure.in Fri Jan 29 18:35:22 2010 @@ -0,0 +1,48 @@ +AC_INIT(src/YNCursesUI.h) + +VERSION=`cat ./VERSION` +RPMNAME=`cat ./RPMNAME` + +AM_INIT_AUTOMAKE(libyui-ncurses, $VERSION) +AM_CONFIG_HEADER(config.h) + +AC_DISABLE_STATIC + +AC_PROG_CXX +AC_PROG_LIBTOOL +AM_PROG_LIBTOOL + +AC_PREFIX_DEFAULT(/usr) + +CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes" + +CXXFLAGS="${CXXFLAGS} -std=gnu++0x -DHAVE_CXX0X -Wall -Wformat=2 -Wnon-virtual-dtor" + +AC_CHECK_HEADER([ncursesw/curses.h], + [CXXFLAGS="$CXXFLAGS -I/usr/include/ncursesw"]) + +AC_LANG_PUSH([C++]) +AC_CHECK_HEADERS([yui/YWidgetFactory.h], + [], + [AC_MSG_ERROR([libyui headers not found - install package libyui-devel!])]) +AC_LANG_POP + +docdir=\${prefix}/share/doc/packages/libyui +includedir=\${prefix}/include/ +pkgconfigdir=\${libdir}/pkgconfig +plugindir=\${libdir}/yui/ +themedir=\${prefix}/share/YaST2/theme/ + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(docdir) +AC_SUBST(includedir) +AC_SUBST(pkgconfigdir) +AC_SUBST(plugindir) +AC_SUBST(themedir) + +AC_OUTPUT( + Makefile + src/Makefile + package/libyui-ncurses.spec:libyui-ncurses.spec.in +) Added: branches/tmp/bubli/ncurses/libyui-ncurses.spec.in URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/ncurses/libyui-ncurses.spec.in?rev=60630&view=auto ============================================================================== --- branches/tmp/bubli/ncurses/libyui-ncurses.spec.in (added) +++ branches/tmp/bubli/ncurses/libyui-ncurses.spec.in Fri Jan 29 18:35:22 2010 @@ -0,0 +1,50 @@ +@HEADER-COMMENT@ + + +@HEADER@ +Group: System/YaST +License: GPL v2 or later +BuildRequires: doxygen dejagnu gcc-c++ yast2-devtools +BuildRequires: libxcrypt-devel blocxx-devel ncurses-devel + +Summary: YaST2 - Character Based User Interface +Provides: yast2_ui +Requires: glibc-locale +BuildRequires: yast2-libyui-devel >= 2.18.4 +Requires: yast2-libyui >= 2.18.4 +Recommends: yast2-ncurses-pkg +%description +This package contains the character based (ncurses) user interface +component for YaST2. + +@HEADER-DEVEL@ +Summary: YaST2 - Character Based User Interface +Requires: yast2-ncurses >= 2.16.15 +Requires: ncurses-devel yast2-libyui-devel + +%description devel +This package contains the character based (ncurses) user interface +component for YaST2. + +@PREP@ + +@BUILD@ + +@INSTALL@ +rm $RPM_BUILD_ROOT/@plugindir@/libpy2ncurses.la + +@CLEAN@ + +%files +%defattr (-, root, root) +%dir %{_libdir}/YaST2 +%dir @plugindir@ +@plugindir@/libpy2ncurses.so.* + +%files devel +%defattr (-, root, root) +@plugindir@/libpy2ncurses.so +%dir @includedir@ +@includedir@/ncurses/ +%doc @docdir@ + -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org