-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ AC_PREREQ([2.60]) | |
dnl lmiwbem version number | ||
m4_define(lmiwbem_version_major, 0) | ||
m4_define(lmiwbem_version_minor, 7) | ||
m4_define(lmiwbem_version_patch, 0) | ||
m4_define(lmiwbem_version_patch, 1) | ||
m4_define(lmiwbem_version, lmiwbem_version_major.lmiwbem_version_minor.lmiwbem_version_patch) | ||
|
||
AC_INIT([python-lmiwbem], [lmiwbem_version], [[email protected]]) | ||
|
@@ -309,7 +309,7 @@ AC_SUBST([CXXFLAGS], [$CXXFLAGS]) | |
|
||
AC_OUTPUT( | ||
[makefile | ||
lmiwbem.spec | ||
python-lmiwbem.spec | ||
setup.py | ||
doc/makefile | ||
doc/src/conf.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ endif # BUILD_WITH_DOC | |
EXTRA_DIST = \ | ||
examples \ | ||
util \ | ||
lmiwbem.spec \ | ||
python-lmiwbem.spec \ | ||
NEWS \ | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
%global with_doc 0 | ||
|
||
Name: lmiwbem | ||
Name: python-lmiwbem | ||
Version: @VERSION@ | ||
Release: 1%{?dist} | ||
Summary: Python WBEM Client | ||
License: LGPLv2+ | ||
URL: https://github.com/phatina/lmiwbem | ||
Source0: https://github.com/phatina/lmiwbem/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz | ||
URL: https://github.com/phatina/python-lmiwbem | ||
Source0: https://github.com/phatina/python-lmiwbem/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz | ||
|
||
BuildRequires: autoconf | ||
BuildRequires: automake | ||
|
@@ -26,6 +26,10 @@ Requires: openslp | |
Requires: python | ||
Requires: tog-pegasus-libs >= 2.12.0 | ||
|
||
Provides: lmiwbem = %{version}-%{release} | ||
Provides: lmiwbem%{?_isa} = %{version}-%{release} | ||
Obsoletes: lmiwbem <= 0.6.0-2 | ||
|
||
%description | ||
%{name} is a Python library, which performs CIM operations using CIM-XML | ||
protocol. The library tries to mimic PyWBEM. | ||
|
@@ -34,6 +38,9 @@ protocol. The library tries to mimic PyWBEM. | |
%package doc | ||
Summary: Documentation for %{name} | ||
Group: Documentation | ||
BuildArch: noarch | ||
Provides: lmiwbem-doc = %{version}-%{release} | ||
Obsoletes: lmiwbem <= 0.6.0-2 | ||
|
||
%description doc | ||
%{summary} | ||
|
@@ -56,10 +63,11 @@ find %{buildroot} -name '*.la' | xargs rm -f | |
|
||
%files | ||
%doc COPYING README.md | ||
%{python_sitearch}/lmiwbem/ | ||
%{python2_sitearch}/lmiwbem/ | ||
|
||
%if %{with_doc} | ||
%files doc | ||
%doc COPYING README.md | ||
%dir %{_docdir}/%{name}-%{version} | ||
%{_docdir}/%{name}-%{version}/html | ||
%endif | ||
|
@@ -68,6 +76,10 @@ find %{buildroot} -name '*.la' | xargs rm -f | |
* @SPECFILE_DATE@ Peter Hatina <[email protected]> - @VERSION@-1 | ||
- upgrade to @VERSION@ | ||
|
||
* Tue Feb 24 2015 Peter Hatina <[email protected]> - 0.7.1-1 | ||
- upgrade to 0.7.1 | ||
- rename to python-lmiwbem | ||
|
||
* Mon Feb 23 2015 Peter Hatina <[email protected]> - 0.7.0-1 | ||
- upgrade to 0.7.0 | ||
|
||
|