From 355f35b48fb09e0032fb9305b6451f641f71dfc8 Mon Sep 17 00:00:00 2001 From: Rusty Lynch Date: Mon, 19 Nov 2012 21:22:27 -0800 Subject: [PATCH] Add Tizen 2.0 packaging --- packaging/eobj.changes | 3 +++ packaging/eobj.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 packaging/eobj.changes create mode 100755 packaging/eobj.spec diff --git a/packaging/eobj.changes b/packaging/eobj.changes new file mode 100644 index 0000000..3edf4d1 --- /dev/null +++ b/packaging/eobj.changes @@ -0,0 +1,3 @@ +* Tue Nov 20 2012 Rusty Lynch 88050f2 +- Initial packaging + diff --git a/packaging/eobj.spec b/packaging/eobj.spec new file mode 100755 index 0000000..b280b29 --- /dev/null +++ b/packaging/eobj.spec @@ -0,0 +1,57 @@ +Name: eobj +Summary: EFL Object Library +Version: 1.7.1+svn.78409+build01 +Release: 1 +Group: System/Libraries +License: BSD +URL: http://www.enlightenment.org/ +Source0: %{name}-%{version}.tar.gz +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(eina) + +%description +Enlightenment DR17 Object library... because everyone needs a package with +the name 'object' inside it. This completes TLA compliance, have a nice day. + +%package devel +Summary: Eobj (devel) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + + +%description devel +Enlightenment DR17 Object library (devel) + +%prep +%setup -q + +%build +export CFLAGS+=" -fvisibility=hidden -ffast-math -fPIC" +export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed" + +%autogen +%configure --disable-static + +make %{?jobs:-j%jobs} + + +%install +rm -rf %{buildroot} +%make_install + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/libeo.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/eo-1/Eo.h +%{_libdir}/libeo.so +%{_libdir}/pkgconfig/eo.pc + -- 2.7.4