1 Star 0 Fork 14

通行百万/dconf

forked from src-openEuler/dconf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dconf.spec 2.39 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-13 15:11 . Package init
Name: dconf
Version: 0.30.0
Release: 2
Summary: Dconf provides a backend to the GSettings API in Glib
License: LGPLv2+ and GPLv2+ and GPLv3+
URL: http://live.gnome.org/%{name}
Source0: http://download.gnome.org/sources/%{name}/0.30/%{name}-%{version}.tar.xz
#this patch comes from fedora/redhat repository
Patch0001: dconf-override.patch
BuildRequires: bash-completion dbus-devel glib2-devel >= 2.44.0 gtk-doc meson vala libxslt
Requires: dbus glib2%{?_isa} >= 2.44.0
%description
Dconf is a low-level configuration system. Its main purpose is to provide a backend
to GSettings on platforms that don't already have configuration storage systems.
%package devel
Summary: Development files for dconf
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Includes header files, static library and other development files for dconf.
%package help
Summary: Document files for dconf
%description help
This package contains some readme, man and other related files for dconf.
%prep
%autosetup -p1
%build
%meson -Dgtk_doc=true
%meson_build
%install
%meson_install
install -d $RPM_BUILD_ROOT%{_sysconfdir}/dconf/profile
install -d $RPM_BUILD_ROOT%{_sysconfdir}/dconf/db/{site,local,distro}.d/locks
cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/profile/user
user-db:user
system-db:local
system-db:site
system-db:distro
EOF
%posttrans
dconf update
%files
%license COPYING
%dir %{_sysconfdir}/dconf
%dir %{_sysconfdir}/dconf/db
%dir %{_sysconfdir}/dconf/db/local.d
%dir %{_sysconfdir}/dconf/db/local.d/locks
%dir %{_sysconfdir}/dconf/db/site.d
%dir %{_sysconfdir}/dconf/db/site.d/locks
%dir %{_sysconfdir}/dconf/db/distro.d
%dir %{_sysconfdir}/dconf/db/distro.d/locks
%dir %{_sysconfdir}/dconf/profile
%{_libexecdir}/dconf-service
%{_bindir}/dconf
%{_libdir}/libdconf.so.1*
%{_libdir}/gio/modules/libdconfsettings.so
%{_datadir}/bash-completion/completions/dconf
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
%config(noreplace) %{_sysconfdir}/dconf/profile/user
%files devel
%{_includedir}/dconf
%{_libdir}/libdconf.so
%{_libdir}/pkgconfig/dconf.pc
%{_datadir}/vala
%{_datadir}/gtk-doc/html/dconf
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%files help
%{_mandir}/man1/dconf-service.1.gz
%{_mandir}/man1/dconf.1.gz
%{_mandir}/man7/dconf.7.gz
%changelog
* Wed Sep 19 2019 yanzhihua <yanzhihua4@huawei.com> - 0.30.0-2
- Package init.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/traffic_millions/dconf.git
git@gitee.com:traffic_millions/dconf.git
traffic_millions
dconf
dconf
master

搜索帮助