Author: kmachalkova Date: Thu Jan 7 18:45:17 2010 New Revision: 60280 URL: http://svn.opensuse.org/viewcvs/yast?rev=60280&view=rev Log: Files in, files out Added: branches/tmp/bubli/libyui/Makefile.am branches/tmp/bubli/libyui/configure.in branches/tmp/bubli/libyui/libyui.pc.in - copied unchanged from r60279, branches/tmp/bubli/libyui/yast2-libyui.pc.in branches/tmp/bubli/libyui/libyui.spec.in Removed: branches/tmp/bubli/libyui/configure.in.in branches/tmp/bubli/libyui/yast2-libyui.pc.in branches/tmp/bubli/libyui/yast2-libyui.spec.in Modified: branches/tmp/bubli/libyui/Makefile.cvs branches/tmp/bubli/libyui/RPMNAME branches/tmp/bubli/libyui/examples/Makefile.am Added: branches/tmp/bubli/libyui/Makefile.am URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/libyui/Makefile.am?rev=60280&view=auto ============================================================================== --- branches/tmp/bubli/libyui/Makefile.am (added) +++ branches/tmp/bubli/libyui/Makefile.am Thu Jan 7 18:45:17 2010 @@ -0,0 +1,25 @@ +# +# Makefile.am for libyui +# + +SUBDIRS = src cmake examples + +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip + +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +pkgconfig_DATA = libyui.pc + +EXTRA_DIST = $(RPMNAME).pc.in + + +$(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/libyui/Makefile.cvs URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/libyui/Makefile.cvs?rev=60280&r1=60279&r2=60280&view=diff ============================================================================== --- branches/tmp/bubli/libyui/Makefile.cvs (original) +++ branches/tmp/bubli/libyui/Makefile.cvs Thu Jan 7 18:45:17 2010 @@ -2,17 +2,18 @@ # 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 - autoreconf --force --install -v + aclocal + autoconf + autoheader + autoreconf --force --install install: configure make Modified: branches/tmp/bubli/libyui/RPMNAME URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/libyui/RPMNAME?rev=60280&r1=60279&r2=60280&view=diff ============================================================================== --- branches/tmp/bubli/libyui/RPMNAME (original) +++ branches/tmp/bubli/libyui/RPMNAME Thu Jan 7 18:45:17 2010 @@ -1 +1 @@ -yast2-libyui +libyui Added: branches/tmp/bubli/libyui/configure.in URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/libyui/configure.in?rev=60280&view=auto ============================================================================== --- branches/tmp/bubli/libyui/configure.in (added) +++ branches/tmp/bubli/libyui/configure.in Thu Jan 7 18:45:17 2010 @@ -0,0 +1,38 @@ +AC_INIT(src/YUI.h) + +VERSION=`cat ./VERSION` +RPMNAME=`cat ./RPMNAME` + +AM_INIT_AUTOMAKE(libyui, $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" + +docdir=\${prefix}/share/doc/packages/libyui +includedir=\${prefix}/include/YaST2 +pkgconfigdir=\${libdir}/pkgconfig + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(docdir) +AC_SUBST(includedir) +AC_SUBST(pkgconfigdir) + +AC_OUTPUT( + Makefile + src/Makefile + cmake/Makefile + examples/Makefile + package/libyui.spec:libyui.spec.in + libyui.pc:libyui.pc.in +) Modified: branches/tmp/bubli/libyui/examples/Makefile.am URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/libyui/examples/Makefile.am?rev=60280&r1=60279&r2=60280&view=diff ============================================================================== --- branches/tmp/bubli/libyui/examples/Makefile.am (original) +++ branches/tmp/bubli/libyui/examples/Makefile.am Thu Jan 7 18:45:17 2010 @@ -4,6 +4,10 @@ INCLUDES = -I$(top_srcdir)/src/ +doc_DATA = HelloWorld.cc \ + ComboBox1.cc \ + SelectionBox1.cc + noinst_PROGRAMS = \ HelloWorld \ ComboBox1 \ Added: branches/tmp/bubli/libyui/libyui.spec.in URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/bubli/libyui/libyui.spec.in?rev=60280&view=auto ============================================================================== --- branches/tmp/bubli/libyui/libyui.spec.in (added) +++ branches/tmp/bubli/libyui/libyui.spec.in Thu Jan 7 18:45:17 2010 @@ -0,0 +1,99 @@ +# +# spec file for package libyui (Version @VERSION@) +# +# norootforbuild + +Name: libyui +Version: @VERSION@ +Release: 0 +License: GPL v2 or later +Group: System/Libraries +Source: libyui-%{version}.tar.bz2 +Source1: libyui-rpmlintrc + +BuildRequires: gcc-c++ +BuildRequires: yast2-devtools + +# autodocs + docbook docs +BuildRequires: doxygen +BuildRequires: docbook-xsl-stylesheets libxslt +BuildRequires: sgml-skel +Conflicts: yast2-core < 2.16.38 + +# libyui ImplPtr +BuildRequires: boost-devel + +Summary: YaST2 - User Interface Engine +Provides: %{_libdir}/libyui.so.3.0.0 + +%description +This is the YaST2 user interface engine that provides the abstraction +from graphical user interfaces (Qt, Gtk) and text based user interfaces +(ncurses). + +This can be used independently of YaST2 for generic (C++) applications. +This package has very few dependencies. + +%package devel +Summary: YaST2 - User Interface Engine header filews + +Requires: glibc-devel +Requires: libstdc++-devel +Requires: boost-devel + +%description devel +This is the development package for the YaST2 user interface engine +that provides the abstraction from graphical user interfaces (Qt, Gtk) +and text based user interfaces (ncurses). + +This can be used independently of YaST2 for generic (C++) applications. +This package has very few dependencies. + +%prep +%setup -n %{name}-%{version} + +%build + +export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" +export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" + +aclocal +libtoolize --force --automake --copy +autoheader +automake --add-missing --copy +autoconf +%{?suse_update_config:%{suse_update_config -f}} +./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir} +make %{?jobs:-j%jobs} + +%install +make install DESTDIR="$RPM_BUILD_ROOT" + +mkdir -p "$RPM_BUILD_ROOT"%{_vardir}/log/YaST2 +%perl_process_packlist + +%clean +rm -rf "$RPM_BUILD_ROOT" + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%files +%defattr(-,root,root) + +%{_libdir}/lib*.so.* +%dir %doc %{_prefix}/share/doc/packages/libyui/ + +%files devel +%defattr(-,root,root) +%{_libdir}/lib*.so +%{_libdir}/lib*.la +%{_prefix}/include/YaST2 +%{_libdir}/pkgconfig/libyui.pc +%dir %{_datadir}/cmake +%dir %{_datadir}/cmake/Modules +%{_datadir}/cmake/Modules/* +%doc %{_prefix}/share/doc/packages/libyui/* -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org