From 156e7894febd8d1a2744006a9e24bf2c3fa32a89ddd2aeaccd92907bf3cb3d1c Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 26 Sep 2014 11:38:23 +0000 Subject: [PATCH 1/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/milou5?expand=0&rev=12 --- milou-5.0.1.tar.xz | 3 --- milou-5.0.95.tar.xz | 3 +++ milou5-rpmlintrc | 1 + milou5.changes | 9 +++++++++ milou5.spec | 12 +++++++++--- 5 files changed, 22 insertions(+), 6 deletions(-) delete mode 100644 milou-5.0.1.tar.xz create mode 100644 milou-5.0.95.tar.xz create mode 100644 milou5-rpmlintrc diff --git a/milou-5.0.1.tar.xz b/milou-5.0.1.tar.xz deleted file mode 100644 index 87854fb..0000000 --- a/milou-5.0.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fab3556fafc66b332c87bfa552b9a109bdbb1d27a07a587d6383e6b23c0fa5fd -size 37188 diff --git a/milou-5.0.95.tar.xz b/milou-5.0.95.tar.xz new file mode 100644 index 0000000..8687bd7 --- /dev/null +++ b/milou-5.0.95.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42eeee0e528d8c943d0335c704da5c113a4c8dd4ed28690aa0a684ee9bbbf3a8 +size 49036 diff --git a/milou5-rpmlintrc b/milou5-rpmlintrc new file mode 100644 index 0000000..f8dbaeb --- /dev/null +++ b/milou5-rpmlintrc @@ -0,0 +1 @@ +addFilter(".*file-not-in-%lang .*") diff --git a/milou5.changes b/milou5.changes index 4cf2199..5a536aa 100644 --- a/milou5.changes +++ b/milou5.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 26 11:36:32 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 5.0.95: + * Minor bugfixes since previous release +- Install translations +- Add rpmlintrc file for file-not-in-%lang warnings: we don't use + find_lang macro as it doesn't searches in subdirectories + ------------------------------------------------------------------- Sun Aug 10 21:45:55 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/milou5.spec b/milou5.spec index 7f38563..0f740b4 100644 --- a/milou5.spec +++ b/milou5.spec @@ -17,13 +17,14 @@ Name: milou5 -Version: 5.0.1 +Version: 5.0.95 Release: 0 Summary: Dedicated search application built on top of Baloo License: GPL-2.0+ and LGPL-2.1+ Group: System/GUI/KDE Url: https://projects.kde.org/milou -Source0: milou-%{version}.tar.xz +Source: milou-%{version}.tar.xz +Source99: %{name}-rpmlintrc BuildRequires: extra-cmake-modules BuildRequires: kdeclarative-devel BuildRequires: kf5-filesystem @@ -39,11 +40,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A dedicated search application built on top of Baloo +%lang_package %prep %setup -q -n milou-%{version} %build - %cmake_kf5 -d build -- -DBUILD_po=OFF + %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %make_jobs %install @@ -63,4 +65,8 @@ A dedicated search application built on top of Baloo %{_kf5_plasmadir}/plasmoids/ %{_kf5_servicesdir}/plasma-applet-org.kde.milou.desktop +%files lang +%defattr(-,root,root) +%{_kf5_localedir}/ + %changelog From 8bfbb9e6a48539c538496e3bb66056a51d9e52ff69e6361b6a53d0fcfb43101c Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 26 Sep 2014 11:42:51 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/milou5?expand=0&rev=13 --- milou5.changes | 3 +++ milou5.spec | 11 +++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/milou5.changes b/milou5.changes index 5a536aa..36ba026 100644 --- a/milou5.changes +++ b/milou5.changes @@ -2,7 +2,10 @@ Fri Sep 26 11:36:32 UTC 2014 - hrvoje.senjan@gmail.com - Update to 5.0.95: + * Ported TextPlugin * Minor bugfixes since previous release +- Added pkgconfig(Qt5Quick) >= 5.2.0 BuildRequires +- Install licenses - Install translations - Add rpmlintrc file for file-not-in-%lang warnings: we don't use find_lang macro as it doesn't searches in subdirectories diff --git a/milou5.spec b/milou5.spec index 0f740b4..2aba97e 100644 --- a/milou5.spec +++ b/milou5.spec @@ -32,6 +32,7 @@ BuildRequires: ki18n-devel BuildRequires: krunner-devel BuildRequires: plasma-framework-devel BuildRequires: pkgconfig(Qt5Qml) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Quick) >= 5.2.0 BuildRequires: pkgconfig(Qt5Script) >= 5.2.0 BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 @@ -59,11 +60,13 @@ A dedicated search application built on top of Baloo %files %defattr(-,root,root) -%{_kf5_servicetypesdir}/miloupreviewplugin.desktop +%doc COPYING* %{_kf5_libdir}/libmilou.so.* -%{_kf5_qmldir}/org/ -%{_kf5_plasmadir}/plasmoids/ -%{_kf5_servicesdir}/plasma-applet-org.kde.milou.desktop +%{_kf5_qmldir}/ +%{_kf5_plasmadir}/ +%{_kf5_servicesdir}/ +%{_kf5_servicetypesdir}/ +%{_kf5_plugindir}/ %files lang %defattr(-,root,root) From 8b898fa1f9b0050d3396b4dd3a95396d33b1b1854c1dcf4e9cb46b5753781222 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 26 Sep 2014 11:47:22 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/milou5?expand=0&rev=14 --- milou5-rpmlintrc | 3 ++- milou5.spec | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/milou5-rpmlintrc b/milou5-rpmlintrc index f8dbaeb..cc4ae51 100644 --- a/milou5-rpmlintrc +++ b/milou5-rpmlintrc @@ -1 +1,2 @@ -addFilter(".*file-not-in-%lang .*") +# we don't use find_lang macro as it doesn't searches in subdirectories +addFilter("file-not-in-%lang .*") \ No newline at end of file diff --git a/milou5.spec b/milou5.spec index 2aba97e..7c1bf25 100644 --- a/milou5.spec +++ b/milou5.spec @@ -26,6 +26,7 @@ Url: https://projects.kde.org/milou Source: milou-%{version}.tar.xz Source99: %{name}-rpmlintrc BuildRequires: extra-cmake-modules +BuildRequires: fdupes BuildRequires: kdeclarative-devel BuildRequires: kf5-filesystem BuildRequires: ki18n-devel @@ -52,6 +53,8 @@ A dedicated search application built on top of Baloo %install %kf5_makeinstall -C build + %fdupes -s %{buildroot}%{_kf5_localedir}/ + %post /sbin/ldconfig