]> git.pld-linux.org Git - packages/kde4-baloo-widgets.git/commitdiff
- initial
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 17 Apr 2014 04:21:11 +0000 (06:21 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 17 Apr 2014 04:21:11 +0000 (06:21 +0200)
kde4-baloo-widgets.spec [new file with mode: 0644]

diff --git a/kde4-baloo-widgets.spec b/kde4-baloo-widgets.spec
new file mode 100644 (file)
index 0000000..2261bb4
--- /dev/null
@@ -0,0 +1,70 @@
+# $Revision:$, $Date:$
+%define         _state          stable
+%define         orgname                baloo-widgets
+%define         qtver           4.8.3
+
+Summary:       A framework for searching and managing metadata - widgets
+Name:          kde4-baloo-widgets
+Version:       4.13.0
+Release:       1
+License:       LGPLv2 or LGPLv3
+Group:         X11/Applications
+URL:           http://www.kde.org/
+Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
+# Source0-md5: 1549e337098a15c0eba9aba38d185ce6
+BuildRequires: QtCore-devel >= %{qtver}
+BuildRequires: akonadi-devel >= 1.12.0
+BuildRequires: kde4-baloo-devel >= %{version}
+BuildRequires: kde4-kdelibs-devel >= %{version}
+BuildRequires: kde4-kfilemetadata-devel >= %{version}
+BuildRequires: pkgconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A framework for searching and managing metadata - widgets.
+
+%package devel
+Summary:       Developer files for %{name}
+Group:         X11/Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      kde4-baloo-devel >= %{version}
+
+%description devel
+Baloo widgets development files and libraries.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+               -DHTML_INSTALL_DIR=%{_kdedocdir} \
+               -DKDE_DISTRIBUTION_TEXT="PLD-Linux" \
+               -DKDE4_ENABLE_FINAL=OFF \
+               ../
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbaloowidgets.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libbaloowidgets.so.?
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/baloo/*.h
+%attr(755,root,root) %{_libdir}/libbaloowidgets.so
+%{_libdir}/cmake/BalooWidgets
This page took 0.145722 seconds and 4 git commands to generate.