diff --git a/.gitignore b/.gitignore index e69de29..c43b974 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/baloo-widgets-4.12.90.tar.xz diff --git a/baloo-widgets.spec b/baloo-widgets.spec new file mode 100644 index 0000000..a8b05c6 --- /dev/null +++ b/baloo-widgets.spec @@ -0,0 +1,69 @@ + +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 4.12.90-1 +- baloo-widgets-4.12.90, first try + diff --git a/sources b/sources index e69de29..e6210ee 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f0bf803a7a83d94382af2d2e34637fb0 baloo-widgets-4.12.90.tar.xz