diff options
author | Radek Novacek <rnovacek@redhat.com> | 2012-10-22 13:33:49 +0200 |
---|---|---|
committer | Radek Novacek <rnovacek@redhat.com> | 2012-10-22 13:33:49 +0200 |
commit | 86a07232637625234cfa5116a96fb4602619b663 (patch) | |
tree | e316d5c618fb66ea0e6e892b89d89d04c1a75b5d /src | |
parent | bcb2525736d91ff912b08fce8a7f503b034c2ca1 (diff) | |
download | openlmi-providers-86a07232637625234cfa5116a96fb4602619b663.tar.gz openlmi-providers-86a07232637625234cfa5116a96fb4602619b663.tar.xz openlmi-providers-86a07232637625234cfa5116a96fb4602619b663.zip |
Change project name from Cura to OpenLMI
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 8 | ||||
-rw-r--r-- | src/account/CMakeLists.txt | 8 | ||||
-rw-r--r-- | src/account/macros.h | 6 | ||||
-rw-r--r-- | src/fan/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/power/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/service/CMakeLists.txt | 6 | ||||
-rwxr-xr-x | src/software/cli/software.py | 4 | ||||
-rw-r--r-- | src/software/setup.py | 8 |
8 files changed, 26 insertions, 26 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6532df3..ff3bf58 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,13 +1,13 @@ include_directories(.) -add_library(curacommon SHARED +add_library(openlmicommon SHARED globals.c ) -set_target_properties(curacommon PROPERTIES SOVERSION 0.0.1) +set_target_properties(openlmicommon PROPERTIES SOVERSION 0.0.1) -install(TARGETS curacommon DESTINATION lib${LIB_SUFFIX}) -install(FILES globals.h DESTINATION include/cura) +install(TARGETS openlmicommon DESTINATION lib${LIB_SUFFIX}) +install(FILES globals.h DESTINATION include/openlmi) if (WITH-FAN) add_subdirectory(fan) diff --git a/src/account/CMakeLists.txt b/src/account/CMakeLists.txt index ecb0945..7aa517e 100644 --- a/src/account/CMakeLists.txt +++ b/src/account/CMakeLists.txt @@ -1,6 +1,6 @@ set(PROVIDER_NAME Account) -set(LIBRARY_NAME cmpiCura_${PROVIDER_NAME}) +set(LIBRARY_NAME cmpiLMI_${PROVIDER_NAME}) set(MOF LMI_Account.mof) set(provider_SRCS @@ -24,15 +24,15 @@ pkg_check_modules(LIBUSER REQUIRED libuser) include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR} ${GLIB_INCLUDE_DIRS}) -target_link_libraries(${LIBRARY_NAME} curacommon ${KONKRETCMPI_LIBRARIES} ${GLIB_LIBRARIES}) +target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES} ${GLIB_LIBRARIES}) include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR} ${LIBUSER_INCLUDE_DIRS}) -target_link_libraries(${LIBRARY_NAME} curacommon ${KONKRETCMPI_LIBRARIES} ${LIBUSER_LIBRARIES}) +target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES} ${LIBUSER_LIBRARIES}) # Create registration file -cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/cura-providers) +cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/) diff --git a/src/account/macros.h b/src/account/macros.h index 91fa2aa..9428c86 100644 --- a/src/account/macros.h +++ b/src/account/macros.h @@ -2,9 +2,9 @@ #define MACROS_H /* Few global names of instances */ -#define LAMSNAME "Cura Linux Users Account Management Service" -#define LAMCNAME "Cura Linux Users Account Management Capabilities" -#define LEACNAME "Cura Linux Account Capabilities" +#define LAMSNAME "OpenLMI Linux Users Account Management Service" +#define LAMCNAME "OpenLMI Linux Users Account Management Capabilities" +#define LEACNAME "OpenLMI Linux Account Capabilities" /* Organization ID. Used for InstaceIDs */ #define ORGID "LMI" diff --git a/src/fan/CMakeLists.txt b/src/fan/CMakeLists.txt index 16c6e18..7cb801a 100644 --- a/src/fan/CMakeLists.txt +++ b/src/fan/CMakeLists.txt @@ -1,6 +1,6 @@ set(PROVIDER_NAME Fan) -set(LIBRARY_NAME cmpiCura_${PROVIDER_NAME}) +set(LIBRARY_NAME cmpiLMI_${PROVIDER_NAME}) set(MOF LMI_Fan.mof) set(provider_SRCS @@ -21,10 +21,10 @@ add_library(${LIBRARY_NAME} SHARED include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR}) -target_link_libraries(${LIBRARY_NAME} curacommon ${KONKRETCMPI_LIBRARIES} sensors) +target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES} sensors) # Create registration file -cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/cura-providers) +cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/) diff --git a/src/power/CMakeLists.txt b/src/power/CMakeLists.txt index 7b1ddc0..73725d3 100644 --- a/src/power/CMakeLists.txt +++ b/src/power/CMakeLists.txt @@ -1,6 +1,6 @@ set(PROVIDER_NAME PowerManagement) -set(LIBRARY_NAME cmpiCura_${PROVIDER_NAME}) +set(LIBRARY_NAME cmpiLMI_${PROVIDER_NAME}) set(MOF LMI_PowerManagement.mof) set(provider_SRCS @@ -23,7 +23,7 @@ pkg_check_modules(GLIB REQUIRED glib-2.0) include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR} ${GLIB_INCLUDE_DIRS}) -target_link_libraries(${LIBRARY_NAME} curacommon ${KONKRETCMPI_LIBRARIES} ${GLIB_LIBRARIES}) +target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES} ${GLIB_LIBRARIES}) # Check if we have upower and link it pkg_check_modules(UPOWER upower-glib) @@ -40,7 +40,7 @@ if (${SYSTEMCTL_FOUND}) endif (${SYSTEMCTL_FOUND}) # Create registration file -cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/cura-providers) +cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/) diff --git a/src/service/CMakeLists.txt b/src/service/CMakeLists.txt index 46c3e71..c0f236f 100644 --- a/src/service/CMakeLists.txt +++ b/src/service/CMakeLists.txt @@ -1,6 +1,6 @@ set(PROVIDER_NAME Service) -set(LIBRARY_NAME cmpiCura_${PROVIDER_NAME}) +set(LIBRARY_NAME cmpiLMI_${PROVIDER_NAME}) set(MOF LMI_Service.mof) set(provider_SRCS @@ -19,10 +19,10 @@ add_library(${LIBRARY_NAME} SHARED ) include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR}) -target_link_libraries(${LIBRARY_NAME} curacommon ${KONKRETCMPI_LIBRARIES}) +target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES}) # Create registration file -cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/cura-providers) +cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) install(PROGRAMS util/servicedisc.sh util/serviceutil.sh DESTINATION libexec) diff --git a/src/software/cli/software.py b/src/software/cli/software.py index a8aba16..eaedc7d 100755 --- a/src/software/cli/software.py +++ b/src/software/cli/software.py @@ -175,7 +175,7 @@ def list_files(conn, package): if __name__ == '__main__': parser = argparse.ArgumentParser(prog='software', - description=("CLI tool for testing cura software providers." + description=("CLI tool for testing OpenLMI software providers." " With this tool you are able to install, update," " remove and verify particular package."), conflict_handler="resolve") @@ -194,7 +194,7 @@ if __name__ == '__main__': help="User password.") parser.add_argument('-d', '--debug', action='store_true', default=False, help="Print debugging informations.") - subpars = parser.add_subparsers(help="Action to make on cura providers.") + subpars = parser.add_subparsers(help="Action to make on OpenLMI providers.") parse_install = subpars.add_parser('install', help="Install specific available package.") diff --git a/src/software/setup.py b/src/software/setup.py index 6a86bea..cd60cc0 100644 --- a/src/software/setup.py +++ b/src/software/setup.py @@ -1,13 +1,13 @@ from distutils.core import setup setup( - name='cura-software', + name='openlmi-software', description='Software Management providers', author='Michal Minar', author_email='miminar@redhat.com', - url='https://fedorahosted.org/cura/', + url='https://fedorahosted.org/openlmi/', version='0.4', - package_dir={'cura.software': 'providers'}, - packages=['cura.software', 'cura.software.util'], + package_dir={'openlmi.software': 'providers'}, + packages=['openlmi.software', 'openlmi.software.util'], classifiers=[ 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)', 'Operating System :: POSIX :: Linux', |