diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:46:45 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:46:45 +0900 |
commit | c82f12be8df0486b6fae8ef096a41858f781bc32 (patch) | |
tree | 15d51a190dda3a111a4bb3fa980db24afe7ddb05 /packaging/xdgmime.spec | |
parent | 27cda5c4335f94edc154e092d9c190e5badb7f70 (diff) | |
download | xdgmime-c82f12be8df0486b6fae8ef096a41858f781bc32.tar.gz xdgmime-c82f12be8df0486b6fae8ef096a41858f781bc32.tar.bz2 xdgmime-c82f12be8df0486b6fae8ef096a41858f781bc32.zip |
Tizen 2.1 base
Diffstat (limited to 'packaging/xdgmime.spec')
-rw-r--r-- | packaging/xdgmime.spec | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/packaging/xdgmime.spec b/packaging/xdgmime.spec new file mode 100644 index 0000000..1b74dab --- /dev/null +++ b/packaging/xdgmime.spec @@ -0,0 +1,51 @@ +Name: xdgmime +Summary: Pkg xdgmime +Version: 0.0.12 +Release: 2 +Group: TO_BE/FILLED_IN +License: LGPLv2, AFLv2 +Source0: xdgmime-%{version}.tar.gz +Requires(post): /sbin/ldconfig, /bin/chown, /bin/chmod +Requires(postun): /sbin/ldconfig +BuildRequires: cmake + +%description +Package xdgmime + +%package devel +Summary: Pkg xdgmime (devel) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Package xdgmime (devel) + +%prep +%setup -q -n %{name}-%{version} + +%build +cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +%post +chown root:root /usr/lib/libxdgmime.so.1.1.0 +chmod 644 /usr/lib/libxdgmime.so.1.1.0 +/sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +/usr/lib/libxdgmime.so.* +%manifest xdgmime.manifest + +%files devel +%defattr(-,root,root,-) +/usr/include/xdgmime.h +/usr/lib/libxdgmime.so +/usr/lib/pkgconfig/xdgmime.pc |