From: Viktor M. <mih...@us...> - 2005-03-18 15:13:48
|
Update of /cvsroot/sblim/cmpi-devel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22210 Modified Files: Makefile.am configure.ac Added Files: .cvsignore sblim-cmpi-devel.spec.in Log Message: Feature 1165993: Add RPM Support to sblim-cmpi-devel. --- NEW FILE: .cvsignore --- .deps Makefile Makefile.in aclocal.m4 autom4te.cache config.h config.h.in config.log config.status configure stamp-h1 --- NEW FILE: sblim-cmpi-devel.spec.in --- # # sblim-cmpi-devel.spec # # Package spec for cmpi-devel # BuildRoot: /var/tmp/buildroot Summary: SBLIM CMPI Provider Development Support Name: @PACKAGE_TARNAME@ Version: @PACKAGE_VERSION@ Release: 0 Group: Systems Management/Base License: Common Public License 1.0 Provides: cmpi-devel Source0: http://dl.sourceforge.net/sourceforge/sblim/%{name}-%{version}.tar.bz2 %Description This packages provides the CMPI header files needed by provider developers and can be used standalone. %prep %setup -T -b 0 -n %{name}-%{version} export PATCH_GET=0 #%patch0 -p1 %build %configure --disable-debug make %install if [ `id -ur` != 0 ] then # paranoia check rm -rf $RPM_BUILD_ROOT fi make DESTDIR=$RPM_BUILD_ROOT install # remove unused libtool files rm -f $RPM_BUILD_ROOT/%{_libdir}/*a %clean if [ `id -ur` != 0 ] then # paranoia check rm -rf $RPM_BUILD_ROOT fi %files %defattr(-,root,root) %doc %{_datadir}/doc %{_includedir} %{_libdir}/*.so* Index: Makefile.am =================================================================== RCS file: /cvsroot/sblim/cmpi-devel/Makefile.am,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- Makefile.am 18 Mar 2005 13:45:38 -0000 1.1.1.1 +++ Makefile.am 18 Mar 2005 15:13:31 -0000 1.2 @@ -1,5 +1,7 @@ # $Id$ +docdir=$(datadir)/doc/$(PACKAGE)-$(VERSION) + lib_LTLIBRARIES=libcmpiCppImpl.la nobase_include_HEADERS=cmpi/CmpiArgs.h cmpi/CmpiBroker.h cmpi/cmpidt.h \ @@ -15,3 +17,13 @@ libcmpiCppImpl_la_SOURCES=CmpiImpl.cpp libcmpiCppImpl_la_CPPFLAGS=-Wall -I$(srcdir)/cmpi + +EXTRA_DIST=$(PACKAGE).spec + +install-data-local: + test -d $(DESTDIR)$(docdir) || $(mkdir_p) $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(srcdir)/README $(srcdir)/AUTHORS $(srcdir)/COPYING $(DESTDIR)$(docdir) + + +uninstall-local: + rm -rf $(DESTDIR)$(docdir) Index: configure.ac =================================================================== RCS file: /cvsroot/sblim/cmpi-devel/configure.ac,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- configure.ac 18 Mar 2005 13:45:38 -0000 1.1.1.1 +++ configure.ac 18 Mar 2005 15:13:31 -0000 1.2 @@ -30,5 +30,5 @@ # Checks for library functions. AC_CHECK_FUNCS([strcasecmp]) -AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([Makefile sblim-cmpi-devel.spec]) AC_OUTPUT |