17
0
Files
PlatformFolders/PlatformFolders.spec
Jan Engelhardt 83d4a2e313 Accepting request 1325147 from home:dirkmueller:Factory
- update to 4.3.0:
  * Exposed "sago::internal::getHome()". It might be useful when
    converting from old file placement.
  * Tested and supports newer versions of CMake

OBS-URL: https://build.opensuse.org/request/show/1325147
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/PlatformFolders?expand=0&rev=6
2026-01-03 17:10:14 +00:00

67 lines
1.9 KiB
RPMSpec

#
# spec file for package PlatformFolders
#
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2022 Fabio Pesari
#
# 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 https://bugs.opensuse.org/
#
Name: PlatformFolders
Version: 4.3.0
Release: 0
Summary: Library for cross-platform detection of special directories
License: MIT
Group: Development/Languages/C and C++
URL: https://github.com/sago007/PlatformFolders
Source0: https://github.com/sago007/PlatformFolders/archive/refs/tags/%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
%description
C++ library to look for directories like My Documents,
~/.config, etc. so that you do not need to write
platform-specific code.
%package devel
Summary: Library for cross-platform detection of special directories (development files)
Requires: %{name} = %{version}
%description devel
C++ library to look for directories like My Documents,
~/.config, etc. so that you do not need to write
platform-specific code.
These are Development files for the PlatformFolders library.
%prep
%setup -q
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%doc README.md CHANGELOG.md
%license LICENSE
%{_libdir}/libplatform_folders.so
%files devel
%{_includedir}/*
%{_libdir}/cmake/platform_folders
%changelog