You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
baloo-widgets/baloo-widgets.spec

70 lines
1.4 KiB

11 years ago
Name: baloo-widgets
Summary: Widgets for Baloo
Version: 4.12.90
Release: 1%{?dist}
# # KDE e.V. may determine that future LGPL versions are accepted
License: LGPLv2 or LGPLv3
URL: https://projects.kde.org/projects/kde/kdelibs/baloo-widgets
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: baloo-devel >= %{version}
BuildRequires: kdelibs4-devel >= %{version}
BuildRequires: kfilemetadata-devel >= %{version}
Requires: baloo-libs%{?_isa} >= %{version}
%description
%{summary}.
%package devel
Summary: Developer files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: baloo-devel
%description devel
%{summary}.
%prep
%setup -q
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING.LIB
%{_kde4_libdir}/libbaloowidgets.so.4*
%files devel
%{_kde4_includedir}/baloo/*.h
%{_kde4_libdir}/cmake/BalooWidgets/
%{_kde4_libdir}/libbaloowidgets.so
%changelog
* Mon Mar 17 2014 Rex Dieter <rdieter@fedoraproject.org> 4.12.90-1
- baloo-widgets-4.12.90, first try