From 7829a94b3f2b04a2179424613b98a7a15f5dc2b7 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 7 Nov 2012 07:56:19 -0800 Subject: [PATCH] add packaging --- packaging/python-edje.spec | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 packaging/python-edje.spec diff --git a/packaging/python-edje.spec b/packaging/python-edje.spec new file mode 100644 index 0000000..9f93750 --- /dev/null +++ b/packaging/python-edje.spec @@ -0,0 +1,47 @@ +Name: python-edje +Version: 1.7.0 +Release: 0 +License: LGPL2.1 +Summary: Edje python bindings +Url: http://www.enlightenment.org +Group: EFL +Source: %{name}-%{version}.tar.bz2 +BuildRequires: python-devel +BuildRequires: pkgconfig(edje) +BuildRequires: pkgconfig(python-evas) +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Edje python bindings. + +%package devel +Summary: Development files for %{name} +Group: Development/Python +Requires: pkgconfig(edje) +Requires: pkgconfig(python-evas) + +%description devel +Development files for %{name}. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install + +%files +%defattr(-,root,root) +%{_libdir}/python2.7/site-packages/edje + + +%files devel +%{_datadir}/python-edje/examples +%{_libdir}/pkgconfig/*.pc +%{_includedir}/python-edje/edje + + +%changelog -- 2.7.4