Release version 0.0.15
[platform/core/appfw/xdgmime.git] / packaging / xdgmime.spec
index 4e482f1..53aac47 100644 (file)
@@ -1,23 +1,23 @@
 Name:           xdgmime
-Version:        0.0.12
-Release:        3
-License:        LGPLv2, AFLv2
-Summary:        Pkg xdgmime
-Group:          TO_BE/FILLED_IN
+Version:        0.0.15
+Release:        0
+License:        LGPL-2.1+ and AFL-2.0
+Summary:        Querying information about file type
+Group:          Applications/Other
 Source0:        xdgmime-%{version}.tar.gz
-Source1001:    xdgmime.manifest
+Source1001:     xdgmime.manifest
 BuildRequires:  cmake
 
 %description
-Package xdgmime
+Querying information about file type package.
 
 %package devel
-Summary:        Pkg xdgmime (devel)
+Summary:        Querying information about file type (devel)
 Group:          Development/Libraries
 Requires:       %{name} = %{version}
 
 %description devel
-Package xdgmime (devel)
+Querying information about file type (devel) package.
 
 %prep
 %setup -q
@@ -25,13 +25,10 @@ cp %{SOURCE1001} .
 
 %build
 %cmake . 
-
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
 
 %install
 %make_install
-mkdir -p %{buildroot}/usr/share/license
-install COPYING %{buildroot}/usr/share/license/%{name}
 
 %post -p /sbin/ldconfig
 
@@ -41,8 +38,7 @@ install COPYING %{buildroot}/usr/share/license/%{name}
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libxdgmime.so.*
-%manifest xdgmime.manifest
-/usr/share/license/%{name}
+%license COPYING
 
 %files devel
 %manifest %{name}.manifest