Add RPM packaging
authorMike McCormack <mj.mccormack@samsung.com>
Mon, 8 Aug 2011 11:25:54 +0000 (20:25 +0900)
committerMike McCormack <mj.mccormack@samsung.com>
Mon, 8 Aug 2011 11:25:54 +0000 (20:25 +0900)
packaging/eina.spec [new file with mode: 0644]

diff --git a/packaging/eina.spec b/packaging/eina.spec
new file mode 100644 (file)
index 0000000..6243f54
--- /dev/null
@@ -0,0 +1,72 @@
+Name:       eina
+Summary:    Data Type Library
+Version:    1.0.999.svn60288
+Release:    1
+Group:      System/Libraries
+License:    LGPLv2
+URL:        http://www.enlightenment.org/
+Source0:    http://download.enlightenment.org/releases/eina-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+
+%description
+Enlightenment Foundation Library providing optimized data types Eina is a multi-platform library that provides optimized data types and a few
+ tools. It supports the following data types:
+  o Array
+  o Hash Table
+  o Double-linked list
+  o Red-black tree
+  o Shared string
+  o Access Content types
+    + Accessor: can access items of a container randomly
+    + Iterator: can access items of a container sequentially
+
+
+
+%package devel
+Summary:    Data Type Library (devel)
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+Enlightenment Foundation Library providing optimized data types (devel)
+
+
+%prep
+%setup -q -n %{name}
+
+
+%build
+
+%autogen --disable-static
+%configure --disable-static \
+    --disable-rpath --enable-static-chained-pool --enable-magic-debug
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libeina.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/eina-1
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/eina.pc
+