Package alterator-manager: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | %define alterator_libexecdir %_prefix/libexec/alterator Name: alterator-manager Version: 0.1.19 Release: alt1 Summary: Modular tool for system configuration via D-Bus License: GPL-2 Group: System/Configuration/Other BuildRequires: cmake gcc BuildRequires: libgio-devel libsystemd-devel libpolkit-devel Source: %name-%version.tar %description Modular tool for system configuration via D-Bus. %package tools Summary: Auxiliary tools for the alterator-manager. Group: Development/Other %description tools Auxiliary tools for the alterator-manager. %package devel Summary: Headers for developing alterator-manager modules Group: Development/Other Requires: libgio-devel %description devel Headers for developing alterator-manager modules. %prep %setup -q %build %cmake -DCMAKE_BUILD_TYPE=Release %cmake_build %install %cmakeinstall_std mkdir -p %buildroot%alterator_libexecdir mkdir -p %buildroot%_datadir/alterator/backends mkdir -p %buildroot%_datadir/alterator/backends/user mkdir -p %buildroot%_datadir/alterator/backends/system mkdir -p %buildroot%_sysconfdir/alterator/backends mkdir -p %buildroot%_sysconfdir/alterator/backends/user mkdir -p %buildroot%_sysconfdir/alterator/backends/system mkdir -p %buildroot%_datadir/polkit-1/actions mkdir -p %buildroot%_rpmlibdir/ mv -f %buildroot%_prefix/lib/systemd/user/alterator-manager-user.service \ %buildroot%_prefix/lib/systemd/user/alterator-manager.service %files %_sbindir/%name %_datadir/dbus-1/system.d/ru.basealt.alterator_manager.conf %_datadir/dbus-1/services/ru.basealt.alterator_manager.service %_unitdir/alterator-manager.service %_prefix/lib/systemd/user/alterator-manager.service %_datadir/polkit-1/actions/ru.basealt.alterator.manager.policy %_rpmlibdir/%name.filetrigger %dir %alterator_libexecdir %dir %_datadir/alterator/backends %dir %_datadir/alterator/backends/user %dir %_datadir/alterator/backends/system %dir %_sysconfdir/alterator/backends %dir %_sysconfdir/alterator/backends/user %dir %_sysconfdir/alterator/backends/system %doc docs/* %files devel %_includedir/alterator %files tools %_bindir/am-dev-tool %changelog * Tue Mar 19 2024 Ivan Savin <svn17@altlinux.org> 0.1.19-alt1 - Add new directories for the backend files in /etc. - Update docs/README-ru.md. * Tue Mar 12 2024 Ivan Savin <svn17@altlinux.org> 0.1.18-alt1 - Make the service in user mode bus-activatable. - Disable authorization check for the default interface in user mode. - Update docs/README-ru.md. - Add separate directories for .backend files. - Add missing argument types to function definitions and declarations. * Mon Feb 05 2024 Ivan Savin <svn17@altlinux.org> 0.1.17-alt1 - Add the ability to use the full interface name in backend files. - Update docs/README-ru.md. * Fri Jan 26 2024 Ivan Savin <svn17@altlinux.org> 0.1.16-alt5 - Add check in filetrigger that the system is loaded using systemd (chernigin@). * Thu Jan 25 2024 Ivan Savin <svn17@altlinux.org> 0.1.16-alt4 - Remove unnecessary debug output. * Thu Jan 25 2024 Ivan Savin <svn17@altlinux.org> 0.1.16-alt3 - Fix: fix filetrigger (chernigin@). * Wed Jan 24 2024 Ivan Savin <svn17@altlinux.org> 0.1.16-alt2 - Fix filetrigger (kozyrevid@). * Fri Jan 19 2024 Ivan Savin <svn17@altlinux.org> 0.1.16-alt1 - Add filetrigger to restart the service (kozyrevid@). * Tue Jan 16 2024 Ivan Savin <svn17@altlinux.org> 0.1.15-alt2 - Update docs/README-ru.md. * Wed Jan 10 2024 Michael Chernigin <chernigin@altlinux.org> 0.1.15-alt1 - Add policy file for alterator-manager itself. * Wed Dec 27 2023 Ivan Savin <svn17@altlinux.org> 0.1.14-alt1 - Add the alterator-manager-tools package with the am-dev-tool utility. - Remove automatic generation of policy files (for polkit). - Update docs/README-ru.md. * Mon Dec 25 2023 Ivan Savin <svn17@altlinux.org> 0.1.13-alt2 - Add creation of /etc/alterator/backends directory for backend files. * Mon Dec 18 2023 Ivan Savin <svn17@altlinux.org> 0.1.13-alt1 - Fix the backends_data table creation, it is created only if the pointer is NULL. - Lines that are too long are split into shorter ones. * Fri Dec 08 2023 Ivan Savin <svn17@altlinux.org> 0.1.12-alt1 - Change the name of the Node field in the Alterator Entry section to Name. - Update docs/README-ru.md. * Mon Nov 27 2023 Ivan Savin <svn17@altlinux.org> 0.1.11-alt1 - Change the format of the top section of backend files. - Add the ability to set an action_id without a ru.basealt.alterator prefix using the action_id field in the manager section. - Improve memory release logic for variables in the save_info_from_backend_file function in file alterator_manager_backends.h. - Update docs/README-ru.md. * Wed Nov 01 2023 Ivan Savin <svn17@altlinux.org> 0.1.10-alt2 - Update docs/README-ru.md. * Tue Oct 31 2023 Ivan Savin <svn17@altlinux.org> 0.1.10-alt1 - Add name checking when adding an environment variable. The name must not contain =. - Rename ManagerData structure fields from _table to _data. * Fri Oct 27 2023 Ivan Savin <svn17@altlinux.org> 0.1.9-alt1 - Fix method names in ru.basealt.alterator.manager. - Add automatic cleaning of environment variables. - Add support environment variables management for dbus senders (sin@). - Fix typos in alterator_manager_backends.h (sin@). * Mon Oct 16 2023 Ivan Savin <svn17@altlinux.org> 0.1.8-alt1 - Fix: wrong method names in ru.basealt.alterator.manager. * Wed Sep 20 2023 Ivan Savin <svn17@altlinux.org> 0.1.7-alt4 - Fix: fail to start when the backend files not found. * Wed Sep 06 2023 Ivan Savin <svn17@altlinux.org> 0.1.7-alt3 - Undo changes from 0.1.7-alt2. This change causes "double free or corruption". * Wed Sep 06 2023 Ivan Savin <svn17@altlinux.org> 0.1.7-alt2 - Fix: add g_free() for newly-allocated copy of the string after g_variant_get(). * Tue Jul 11 2023 Ivan Savin <svn17@altlinux.org> 0.1.7-alt1 - Add the ability to validate interfaces by template. - Update docs/README-ru.md. * Fri Jun 23 2023 Ivan Savin <svn17@altlinux.org> 0.1.6-alt1 - Add the ability to run the alterator-manager in user mode (systemctl --user). - Update docs/README-ru.md. * Fri Jun 09 2023 Ivan Savin <svn17@altlinux.org> 0.1.5-alt2 - Change defaults for polkit actions. * Thu Jun 01 2023 Ivan Savin <svn17@altlinux.org> 0.1.5-alt1 - Add the get_interfaces method to the ru.basealt.alterator.manager interface. - Add checking of user rights to execute methods using polkit in the default interfaces. * Mon May 22 2023 Ivan Savin <svn17@altlinux.org> 0.1.4-alt1 - Add checking of user rights to execute methods using polkit. - Data from alterator-manager is now transferred not in a GHashTable, but in a structure ManagerData. - Add check for the correctness of the interface name in a backend file. - Add check for the correctness of the node name in a backend file. - Add automatic addition of prefix 'ru.basealt.alterator.' to the interface name from a file. - Update docs/README-ru.md. * Fri Apr 21 2023 Ivan Savin <svn17@altlinux.org> 0.1.3-alt1 - Add thread_limit option to manager section in backend file. - Update doc/README-ru.md. * Tue Apr 11 2023 Ivan Savin <svn17@altlinux.org> 0.1.2-alt1 - Add the get_signals method to the ru.basealt.alterator.manager interface that returns a list of signal names (stdout/stderr). The arguments to this method are the interface name and the method name. * Tue Apr 04 2023 Ivan Savin <svn17@altlinux.org> 0.1.1-alt2 - Add readme file (RU). * Thu Mar 09 2023 Ivan Savin <svn17@altlinux.org> 0.1.1-alt1 - Add a default interface called manager into root. - The manager contains a method get_objects that returns object paths by interface name. * Thu Feb 16 2023 Ivan Savin <svn17@altlinux.org> 0.1.0-alt1 - All backend files are now loaded in the manager, and modules receive a pointer to a table with data that contains information about D-Bus objects and handlers. One file describes one interface for one module. - g_dbus_connection_register_object replaced by g_dbus_connection_register_subtree. - The interaction between the manager and modules has changed: the module now returns not xml, but an instance of GDBusInterfaceInfo (it writes a pointer to this instance to the table with data received from the manager, a pointer to the vtable is also written there). * Sat Oct 22 2022 Evgeny Sinelnikov <sin@altlinux.org> 0.0.3-alt1 - Improve errors treatment. - Rename source files from plugin to modules in common style. - Add support loading backends prototype with interfaces from alterator_manager_interface in modules. * Thu Oct 13 2022 Ivan Savin <svn17@altlinux.org> 0.0.2-alt1 - Add devel. * Fri Aug 19 2022 Ivan Savin <svn17@altlinux.org> 0.0.1-alt1 - Initial commit. |