summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Kibum <kb0929.kim@samsung.com>2012-04-29 17:04:38 +0900
committerKim Kibum <kb0929.kim@samsung.com>2012-04-29 17:04:38 +0900
commit70e1bbd294a6eef99978929c112a4a052cae4060 (patch)
tree01bf108a84b4d3d8844cf7a19ad417cddbeb9c0e
parentda244b3bbc34a86c489eaf8873318582973757c7 (diff)
downloadxdgmime-master.tar.gz
xdgmime-master.tar.bz2
xdgmime-master.zip
-rw-r--r--debian/changelog4
-rw-r--r--packaging/xdgmime.spec31
2 files changed, 11 insertions, 24 deletions
diff --git a/debian/changelog b/debian/changelog
index 18be0f6..f78afc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
-xdgmime (0.0.12-0) unstable; urgency=low
+xdgmime (0.0.12-1) unstable; urgency=low
* Initial release.
* Git: pkgs/x/xdgmime
- * Tag: xdgmime_0.0.12-0
+ * Tag: xdgmime_0.0.12-1
-- Sangil Yoon <si83.yoon@samsung.com> Wed, 07 Dec 2011 13:09:13 +0900
diff --git a/packaging/xdgmime.spec b/packaging/xdgmime.spec
index b126413..d28e506 100644
--- a/packaging/xdgmime.spec
+++ b/packaging/xdgmime.spec
@@ -1,21 +1,17 @@
-
Name: xdgmime
Summary: Pkg xdgmime
-Version: 0.0.11
-Release: slp1
+Version: 0.0.12
+Release: 1
Group: TO_BE/FILLED_IN
-License: TO_BE_FILLED
-Source0: xdgmime-%{version}.tar.bz2
-Requires(post): /sbin/ldconfig
+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
@@ -24,40 +20,31 @@ 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 -p /sbin/ldconfig
+%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.*
-
%files devel
%defattr(-,root,root,-)
/usr/include/xdgmime.h
/usr/lib/libxdgmime.so
/usr/lib/pkgconfig/xdgmime.pc
-