summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorSunghyun Kwon <sh0701.kwon@samsung.com>2015-04-04 18:00:13 +0900
committerSunghyun Kwon <sh0701.kwon@samsung.com>2015-04-04 18:00:13 +0900
commitbf306496ef37f13996db0c7c4e94bda4decbfa7d (patch)
treeee33e5812871096053f3beba1e7d996a9ef443b1 /packaging
parentbd41b6fc42d07ad819e8c8ec6f56d850d4ef8223 (diff)
downloadgmime-accepted/tizen/common/20150407.101923.tar.gz
gmime-accepted/tizen/common/20150407.101923.tar.bz2
gmime-accepted/tizen/common/20150407.101923.zip
Change-Id: Ieea1fcd991f0518952cba18a752d842c67eaf8ef
Diffstat (limited to 'packaging')
-rw-r--r--packaging/gmime.spec23
1 files changed, 14 insertions, 9 deletions
diff --git a/packaging/gmime.spec b/packaging/gmime.spec
index 9cffe5d..1b148d0 100644
--- a/packaging/gmime.spec
+++ b/packaging/gmime.spec
@@ -1,5 +1,5 @@
# Note that this is NOT a relocatable package
-%define ver 2.6.15
+%define ver 2.6.15
%define enable_mono 0
%define enable_gtk_doc 0
@@ -26,7 +26,9 @@ URL: http://spruce.sourceforge.net/gmime/
Source: gmime-%{version}.tar.bz2
Requires: glib2 >= 2.12.0
-BuildRequires: glib2-devel >= 2.12.0
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: glib2-devel >= 2.12.0
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(zlib)
@@ -66,24 +68,27 @@ cp -p ./COPYING %{buildroot}/usr/share/license/gmime/COPYING
%clean
rm -rf %{buildroot}
+%postun
+/sbin/ldconfig
+
%files
%defattr(-, root, root)
#%doc doc/html/* AUTHORS ChangeLog NEWS README COPYING TODO
#%{_prefix}/bin/*
#%{_prefix}/lib/*.sh
-/usr/lib/libgmime*
+%{_prefix}/lib/libgmime*
%{_prefix}/share/license/gmime/*
-%exclude /usr/lib/*.a
-%exclude /usr/lib/*.la
+%exclude %{_prefix}/lib/*.a
+%exclude %{_prefix}/lib/*.la
%files devel
%{_includedir}/gmime-2.6/gmime/*.h
-/usr/lib/libgmime*
-/usr/lib/pkgconfig/*.pc
-%exclude /usr/lib/*.a
-%exclude /usr/lib/*.la
+%{_prefix}/lib/libgmime*
+%{_prefix}/lib/pkgconfig/*.pc
+%exclude %{_prefix}/lib/*.a
+%exclude %{_prefix}/lib/*.la
%changelog
* Mon Jun 17 2013 Minsoo Kim <minnsoo.kim@samsung.com>