diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-07-25 13:28:23 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-07-25 13:28:23 +0900 |
commit | ff29139e776da8a0111914f5e300016846ec361c (patch) | |
tree | db9a367a3c7565ac6bba07f9a6b7ebc2208ff041 | |
parent | 188514abf089f6c3bf73469e83525f3519f15ede (diff) | |
download | pygobject2-accepted/tizen_5.5_unified_mobile_hotfix.tar.gz pygobject2-accepted/tizen_5.5_unified_mobile_hotfix.tar.bz2 pygobject2-accepted/tizen_5.5_unified_mobile_hotfix.zip |
Bump to pygobject 2.28.6tizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.5/20211028.163601submit/tizen_6.0_hotfix/20201103.115103submit/tizen_6.0_hotfix/20201102.192903submit/tizen_6.0/20201029.205503submit/tizen_5.5_wearable_hotfix/20201026.184308submit/tizen_5.5_mobile_hotfix/20201026.185108submit/tizen_5.5/20191031.000008submit/tizen_5.0/20181101.000007submit/tizen/20170906.013441accepted/tizen/unified/20170906.144516accepted/tizen/8.0/unified/20231005.095406accepted/tizen/7.0/unified/hotfix/20221116.111310accepted/tizen/7.0/unified/20221110.060447accepted/tizen/6.5/unified/20211028.230201accepted/tizen/6.0/unified/hotfix/20201102.232440accepted/tizen/6.0/unified/20201030.112231accepted/tizen/5.5/unified/wearable/hotfix/20201027.105126accepted/tizen/5.5/unified/mobile/hotfix/20201027.072552accepted/tizen/5.5/unified/20191031.013711accepted/tizen/5.0/unified/20181102.030513tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0sandbox/backup/pygobject2_2.28.6_20231208accepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unified
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem] Open Source Version Upgrade
[Cause & Measure]
[Checking Method] N/A
[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A
Change-Id: I571adfd94311d845fea3c9b22289701ed03c281a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | gi/pygi-info.c | 6 | ||||
-rw-r--r-- | packaging/pygobject-rpmlintrc | 3 | ||||
-rw-r--r-- | packaging/pygobject.changes | 2 | ||||
-rw-r--r-- | packaging/pygobject.manifest | 5 | ||||
-rw-r--r-- | packaging/pygobject.spec | 125 |
5 files changed, 138 insertions, 3 deletions
diff --git a/gi/pygi-info.c b/gi/pygi-info.c index 1bfd7d8..69b3182 100644 --- a/gi/pygi-info.c +++ b/gi/pygi-info.c @@ -162,7 +162,7 @@ _pygi_info_new (GIBaseInfo *info) case GI_INFO_TYPE_CONSTANT: type = &PyGIConstantInfo_Type; break; - case GI_INFO_TYPE_ERROR_DOMAIN: + case GI_INFO_TYPE_INVALID_0: type = &PyGIErrorDomainInfo_Type; break; case GI_INFO_TYPE_UNION: @@ -481,7 +481,7 @@ _pygi_g_type_info_size (GITypeInfo *type_info) case GI_INFO_TYPE_INVALID: case GI_INFO_TYPE_FUNCTION: case GI_INFO_TYPE_CONSTANT: - case GI_INFO_TYPE_ERROR_DOMAIN: + case GI_INFO_TYPE_INVALID_0: case GI_INFO_TYPE_VALUE: case GI_INFO_TYPE_SIGNAL: case GI_INFO_TYPE_PROPERTY: @@ -860,7 +860,7 @@ pygi_g_struct_info_is_simple (GIStructInfo *struct_info) case GI_INFO_TYPE_INVALID: case GI_INFO_TYPE_FUNCTION: case GI_INFO_TYPE_CONSTANT: - case GI_INFO_TYPE_ERROR_DOMAIN: + case GI_INFO_TYPE_INVALID_0: case GI_INFO_TYPE_VALUE: case GI_INFO_TYPE_SIGNAL: case GI_INFO_TYPE_PROPERTY: diff --git a/packaging/pygobject-rpmlintrc b/packaging/pygobject-rpmlintrc new file mode 100644 index 0000000..5e73e43 --- /dev/null +++ b/packaging/pygobject-rpmlintrc @@ -0,0 +1,3 @@ +# This line is mandatory to access the configuration functions +from Config import * +addFilter("pygobject2.* devel-file-in-non-devel-package") diff --git a/packaging/pygobject.changes b/packaging/pygobject.changes new file mode 100644 index 0000000..bfd1a0f --- /dev/null +++ b/packaging/pygobject.changes @@ -0,0 +1,2 @@ +* Wed Jul 25th 2012 Prajwal Mohan <prajwal.karur.mohan@intel.com> +- renaming pygobject2.spec to pygobject.spec. renamging pygobject2-rpmlintre to pygoject-rpmlintrc diff --git a/packaging/pygobject.manifest b/packaging/pygobject.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/pygobject.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/pygobject.spec b/packaging/pygobject.spec new file mode 100644 index 0000000..494bfc9 --- /dev/null +++ b/packaging/pygobject.spec @@ -0,0 +1,125 @@ +# Last updated for version 2.19.0 +%define glib2_version 2.16.0 +%define python2_version 2.3.5 + +### Abstract ### + +Name: pygobject +Version: 2.28.6 +Release: 1.1 +License: LGPLv2+ +Group: Development/Languages +Summary: Python bindings for GObject +URL: http://www.pygtk.org/ +Source0: %{name}-%{version}.tar.bz2 +Source101: %{name}-rpmlintrc +Source1001: pygobject.manifest + + +### Build Dependencies ### + +BuildRequires: automake +BuildRequires: glib2-devel >= %{glib2_version} +BuildRequires: libtool +BuildRequires: python-devel >= %{python2_version} +BuildRequires: gobject-introspection-devel +BuildRequires: python-cairo-devel + +%description +The %{name} package provides a convenient wrapper for the GObject library +for use in Python programs. + +%package codegen +Summary: The code generation program for PyGObject +Group: Development/Languages + +%description codegen +The package contains the C code generation program for PyGObject. + +%package devel +Summary: Development files for building add-on libraries +Group: Development/Languages +Requires: %{name} = %{version}-%{release} +Requires: %{name}-codegen = %{version}-%{release} +Requires: %{name}-doc = %{version}-%{release} +Requires: glib2-devel +Requires: pkgconfig + +%description devel +This package contains files required to build wrappers for %{name}-based +libraries such as pygtk2. + +%package doc +Summary: Documentation files for %{name} +Group: Development/Languages + +%description doc +This package contains documentation files for %{name}. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +%configure --enable-thread +export tagname=CC +make LIBTOOL=/usr/bin/libtool + +%install +rm -rf $RPM_BUILD_ROOT +export tagname=CC +make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install +find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f + +rm examples/Makefile* + +%clean +rm -fr $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%defattr(644, root, root, 755) +%doc AUTHORS NEWS README + +%{_libdir}/libpyglib-2.0-python.so* +%dir %{python_sitearch}/gtk-2.0 +%{python_sitearch}/gtk-2.0/dsextras.* +%{python_sitearch}/pygtk.* + +%defattr(755, root, root, 755) +%{python_sitearch}/gi +%{python_sitearch}/gtk-2.0/gio +%{python_sitearch}/glib +%{python_sitearch}/gobject + +%files codegen +%manifest %{name}.manifest +%defattr(755, root, root, 755) +%{_bindir}/pygobject-codegen-2.0 +%defattr(644, root, root, 755) +%dir %{_datadir}/pygobject/2.0 +%{_datadir}/pygobject/2.0/codegen + +%files devel +%manifest %{name}.manifest +%defattr(644, root, root, 755) +%dir %{_datadir}/pygobject +%dir %{_includedir}/pygtk-2.0 +%{_datadir}/pygobject/2.0/defs +#%{_includedir}/pygobject/bank.h +%{_includedir}/pygtk-2.0/pyglib.h +%{_includedir}/pygtk-2.0/pygobject.h +%{_libdir}/pkgconfig/pygobject-2.0.pc + +%files doc +%manifest %{name}.manifest +%defattr(644, root, root, 755) +%doc examples +%{_datadir}/gtk-doc/html/pygobject +%{_datadir}/pygobject/xsl + |