[Tizen-submit] 34676: New package Tizen:IVI:Panda/gmime

noreply at tizen.org noreply at tizen.org
Sat Apr 4 05:10:16 GMT 2015


Hi,
Adding new package gmime in project Tizen:IVI:Panda. Please review and accept ASAP.

Justification for this new package:

Submitter: Sunghyun Kwon <sh0701.kwon at samsung.com>
Comments: Fixed the 64bit build error
Git project: external/gmime
Tag: submit/tizen/20150404.050913
Commit: bd41b6fc42d07ad819e8c8ec6f56d850d4ef8223 Fixed the build error for 64bit

Thank You,
Sunghyun Kwon

[This message was auto-generated]

---

Request: #34676

  submit:       Tizen:IVI:Panda:build/gmime at 3(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Sunghyun Kwon <sh0701.kwon at samsung.com>
Comments: Fixed the 64bit build error
Git project: external/gmime
Tag: submit/tizen/20150404.050913
Commit: bd41b6fc42d07ad819e8c8ec6f56d850d4ef8223 Fixed the build error for 64bit

State:   new        2015-04-04T05:09:56 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:gmime-2.6.15.tar.bz2
  _service:gbs:gmime.spec

spec files:
-----------

++++++ new spec file:
--- _service:gbs:gmime.spec
+++ _service:gbs:gmime.spec
@@ -0,0 +1,91 @@
+# Note that this is NOT a relocatable package
+%define ver      2.6.15
+%define enable_mono 0
+%define enable_gtk_doc 0
+
+%if %{enable_mono}
+%define mono_configure_flags --enable-mono
+%else
+%define mono_configure_flags --disable-mono
+%endif
+
+%if %{enable_gtk_doc}
+%define gtkdoc_configure_flags --enable-gtk-doc
+%else
+%define gtkdoc_configure_flags --disable-gtk-doc
+%endif
+
+Summary: MIME library
+Name: gmime
+VCS:  external/gmime#bd41b6fc42d07ad819e8c8ec6f56d850d4ef8223
+Version: %ver
+Release: 2
+License: LGPL
+Group: Development/Libraries
+URL: http://spruce.sourceforge.net/gmime/
+
+Source: gmime-%{version}.tar.bz2
+
+Requires: glib2 >= 2.12.0
+BuildRequires: glib2-devel >= 2.12.0
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  pkgconfig(zlib)
+
+%description
+GMime is a set of utilities for parsing and creating messages using
+the Multipurpose Internet Mail Extension (MIME)
+
+%package devel
+Summary:    GMime Development package
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+GMime Development package
+
+%prep
+%setup
+
+%build
+if [ ! -f configure ]; then
+  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh $ARCHFLAG %{config_opts} %{mono_configure_flags}
+fi
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} %{mono_configure_flags}
+make
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+mkdir -p %{buildroot}/usr/share/license/gmime
+cp -p ./COPYING %{buildroot}/usr/share/license/gmime/COPYING
+# rename to prevent conflict with uu* utils from sharutils
+#mv %{buildroot}%{_prefix}/bin/uuencode %{buildroot}%{_prefix}/bin/gmime-uuencode
+#mv %{buildroot}%{_prefix}/bin/uudecode %{buildroot}%{_prefix}/bin/gmime-uudecode
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root)
+

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list