Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37518149
en ru br
ALT Linux repositórios
S:0.1-alt1

Group :: Sistema/Configurações/Rede
RPM: wf-config

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: wf-config-0.1-alt1.patch
Download


 .gear/rules     |  2 ++
 .gear/tags/list |  1 +
 LICENSE         | 21 +++++++++++++++++++
 meson.build     |  2 ++
 src/config.cpp  |  1 +
 wf-config.spec  | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 91 insertions(+)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..4b0460c
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: v@version@:.
+diff: v@version@:. .
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..c70b4a2
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+ecdb2f425ae569044797107130625e5aa87f7b86 v0.1
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..6e9cdc1
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2018-2019 Ilia Bozhinov
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/meson.build b/meson.build
index 774db02..e647287 100644
--- a/meson.build
+++ b/meson.build
@@ -22,10 +22,12 @@ sources = [
 
 wfconfig_inc = include_directories('include/wayfire')
 
+so_version = ['0', '0', '0']
 lib_wfconfig = library('wf-config',
     sources,
     dependencies: [evdev, wlroots],
     include_directories: wfconfig_inc,
+    version: '.'.join(so_version),
     install: true)
 
 pkgconfig = import('pkgconfig')
diff --git a/src/config.cpp b/src/config.cpp
index f586ab5..811ce29 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -4,6 +4,7 @@
 #include <sstream>
 #include <fstream>
 #include <algorithm>
+#include <fcntl.h>
 
 std::ofstream out;
 
diff --git a/wf-config.spec b/wf-config.spec
new file mode 100644
index 0000000..04b2f3a
--- /dev/null
+++ b/wf-config.spec
@@ -0,0 +1,64 @@
+Name: wf-config
+Version: 0.1
+Release: alt1
+
+Summary: A library for managing wayfire configuration files
+
+License: MIT
+Group: System/Configuration/Other
+Url: https://github.com/WayfireWM/wf-config
+
+Source: %name-%version.tar
+# git://git.altlinux.org/gears/w/wf-config.git
+Patch1: %name-%version-%release.patch
+
+# Automatically added by buildreq on Fri Mar 15 2019
+# optimized out: glibc-kernheaders-generic glibc-kernheaders-x86 libstdc++-devel ninja-build pkg-config python-base python-modules python3 python3-base python3-module-pkg_resources sh4 xz
+BuildRequires: gcc-c++ libevdev-devel libwlroots-devel meson
+
+%package -n lib%name
+Summary: A library for managing wayfire configuration files
+Group: System/Libraries
+
+%package -n lib%name-devel
+Summary: Development files for lib%name
+Group: Development/C++
+
+%description
+%summary.
+
+%description -n lib%name
+%summary.
+
+%description -n lib%name-devel
+%summary.
+
+This package contains development files.
+
+%prep
+%setup
+%patch1 -p1
+
+%build
+%meson
+%meson_build
+
+%install
+%meson_install
+
+%check
+%meson_test
+
+%files -n lib%name
+%_libdir/lib%name.so.0*
+
+%files -n lib%name-devel
+%_includedir/*
+%_pkgconfigdir/*
+%_libdir/lib%name.so
+
+%changelog
+* Fri Mar 15 2019 Vladimir D. Seleznev <vseleznv@altlinux.org> 0.1-alt1
+- Initial build for Sisyphus.
+
+
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009