diff options
-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 + |