diff options
author | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-08 13:26:26 +0900 |
---|---|---|
committer | TizenOpenSource <tizenopensrc@samsung.com> | 2023-12-08 13:26:26 +0900 |
commit | 91da1fd2af0e40de5b7951d18ffe651308acba15 (patch) | |
tree | fbeb2847bd657a5a8e666a9485419fac3b3df4d6 | |
parent | 454aa52f950f2348756dfffc9c26fb74d4aa3bef (diff) | |
download | pygobject2-accepted/tizen_unified.tar.gz pygobject2-accepted/tizen_unified.tar.bz2 pygobject2-accepted/tizen_unified.zip |
Bump to 3.46.0HEADtizen_9.0_m2_releaseaccepted/tizen/unified/dev/20240620.011030accepted/tizen/unified/20231220.165107accepted/tizen/9.0/unified/20241030.232209tizen_9.0tizensandbox/pygobject2_3.46.0accepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
-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 | 69 |
4 files changed, 79 insertions, 0 deletions
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..7150dc4 --- /dev/null +++ b/packaging/pygobject.spec @@ -0,0 +1,69 @@ +Name: pygobject +Version: 3.46.0 +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 +BuildRequires: python3-devel +BuildRequires: gobject-introspection-devel +BuildRequires: python3-cairo-devel +BuildRequires: python3-setuptools + +%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. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +%{_bindir}/python3 setup.py build + +%install +%{_bindir}/python3 setup.py install --prefix=%{_prefix} --install-lib=%{python3_sitelib} --root=%{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%{python3_sitelib}/pygtkcompat/* +%{python3_sitelib}/gi/* +%{python3_sitelib}/PyGObject-%{version}-py*.egg-info + +%files devel +%manifest %{name}.manifest +%{_libdir}/pkgconfig/pygobject-3.0.pc +%{_includedir}/pygobject-3.0/pygobject.h |