diff options
author | Rusty Lynch <rusty.lynch@intel.com> | 2012-11-19 21:22:27 -0800 |
---|---|---|
committer | Rusty Lynch <rusty.lynch@intel.com> | 2012-11-20 15:59:21 -0800 |
commit | 355f35b48fb09e0032fb9305b6451f641f71dfc8 (patch) | |
tree | 529718950d6b79f1c5cf34bd761296eaa325ba1c | |
parent | 0482347f794640c14333f232d4b33589a40cf35a (diff) | |
download | eobj-submit/2.0alpha-wayland/20121127.222020.tar.gz eobj-submit/2.0alpha-wayland/20121127.222020.tar.bz2 eobj-submit/2.0alpha-wayland/20121127.222020.zip |
Add Tizen 2.0 packagingHEADsubmit/2.0alpha-wayland/20121127.2220202.0alpha-wayland
-rw-r--r-- | packaging/eobj.changes | 3 | ||||
-rwxr-xr-x | packaging/eobj.spec | 57 |
2 files changed, 60 insertions, 0 deletions
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 <rusty.lynch@intel.com> 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 + |