Hrvoje Senjan 2014-06-05 17:38:15 +00:00 committed by Git OBS Bridge
commit b3d4adfdb3
6 changed files with 154 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

41
coexist.patch Normal file
View File

@ -0,0 +1,41 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4bf25ae..a94f345 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,15 @@ include(GenerateExportHeader)
# URL "http://www.kde.org"
# TYPE REQUIRED PURPOSE "Support for Email previews")
+
+set(MILOU_VERSION_MAJOR 4)
+set(MILOU_VERSION_MINOR 96)
+set(MILOU_VERSION_PATCH 0)
+set(MILOU_VERSION ${MILOU_VERSION_MAJOR}.${MILOU_VERSION_MINOR}.${MILOU_VERSION_PATCH} )
+
+set(GENERIC_LIB_SOVERSION 5)
+set(GENERIC_LIB_VERSION "${MILOU_VERSION_MAJOR}.${MILOU_VERSION_MINOR}.${MILOU_VERSION_PATCH}")
+
add_subdirectory(lib)
add_subdirectory(plasmoid)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 657e9dc..23bde3a 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -6,6 +6,7 @@ set (lib_SRCS
)
add_library(milou SHARED ${lib_SRCS})
+set_target_properties(milou PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
target_link_libraries (milou
KF5::KIOWidgets
@@ -20,7 +21,7 @@ install(
generate_export_header(milou BASE_NAME MILOU EXPORT_FILE_NAME milou_export.h)
-install(TARGETS milou EXPORT MilouLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS milou EXPORT MilouLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
add_subdirectory(qml)
# add_subdirectory(previews)

3
milou-kf5-4.97.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0011391edac3b647528728bd760c22e85e6b660cec5256f6eb816b4a3bb0cdc6
size 26700

5
milou5.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Thu Jun 5 17:37:36 UTC 2014 - hrvoje.senjan@gmail.com
- Activate milou5 package

81
milou5.spec Normal file
View File

@ -0,0 +1,81 @@
#
# spec file for package milou5
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: milou5
Version: 4.97.0
Release: 0
Summary: Framework for searching and managing metadata
License: GPL-2.0+ and LGPL-2.1+ and LGPL-3.0
Group: System/GUI/KDE
Source0: milou-kf5-%{version}.tar.xz
Patch0: coexist.patch
BuildRequires: baloo5-devel
BuildRequires: extra-cmake-modules
BuildRequires: kdeclarative-devel
BuildRequires: kdelibs4support-devel
BuildRequires: kf5-filesystem
BuildRequires: ki18n-devel
BuildRequires: krunner-devel
BuildRequires: plasma-framework-devel
BuildRequires: pkgconfig(Qt5Qml) >= 5.2.0
BuildRequires: pkgconfig(Qt5Script) >= 5.2.0
BuildRequires: pkgconfig(Qt5Sql) >= 5.2.0
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
BuildRequires: pkgconfig(Qt5WebKitWidgets) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
Requires: baloo5-runner
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Baloo is a framework for searching and managing metada
%package devel
Summary: Development package for milou5
Group: System/GUI/KDE
Requires: %{name} = %{version}
%description devel
Development package for milou5
%prep
%setup -q -n milou-%{version}
%patch0 -p1
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%{_kf5_servicetypesdir}/miloupreviewplugin.desktop
%{_kf5_libdir}/libmilou.so.*
%{_kf5_qmldir}/org/
%{_kf5_plasmadir}/plasmoids/
%{_kf5_servicesdir}/plasma-applet-org.kde.milou.desktop
%changelog