+%define major 3
+%define minor 0
+%define patchlevel 1
+
Name: tel-plugin-indicator
Summary: Telephony Indicator plugin
-Version: 0.1.8
-Release: 2
+Version: %{major}.%{minor}.%{patchlevel}
+Release: 1
Group: System/Libraries
-License: Apache
+License: Apache-2.0
Source0: tel-plugin-indicator-%{version}.tar.gz
Source1001: tel-plugin-indicator.manifest
Requires(post): /sbin/ldconfig
BuildRequires: cmake
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(tcore)
-BuildRequires: pkgconfig(dlog)
%description
Telephony Indicator plugin
%install
%make_install
mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/telephony/plugins/indicator-plugin*
-/usr/share/license/tel-plugin-indicator
+/usr/share/license/%{name}