dconf/dconf.spec

349 lines
10 KiB
RPMSpec
Raw Normal View History

2014-02-19 08:15:08 +00:00
%define glib2_version 2.39.1
2011-03-22 16:20:48 +00:00
%define vala_version 0.11.7
2010-05-25 04:35:15 +00:00
2010-05-20 20:54:48 +00:00
Name: dconf
2014-03-24 20:07:58 +00:00
Version: 0.20.0
Release: 4%{?dist}
2010-05-20 20:54:48 +00:00
Summary: A configuration system
Group: System Environment/Base
License: LGPLv2+ and GPLv2+ and GPLv3+
2010-05-20 20:54:48 +00:00
URL: http://live.gnome.org/dconf
2011-01-17 19:48:35 +00:00
#VCS: git:git://git.gnome.org/dconf
2014-03-24 20:07:58 +00:00
Source0: http://download.gnome.org/sources/dconf/0.20/dconf-%{version}.tar.xz
2010-05-20 20:54:48 +00:00
2010-05-25 04:35:15 +00:00
BuildRequires: glib2-devel >= %{glib2_version}
2011-01-17 23:00:46 +00:00
BuildRequires: gtk3-devel
2010-06-26 15:28:33 +00:00
BuildRequires: libxml2-devel
2011-05-11 15:40:06 +00:00
BuildRequires: dbus-devel
2011-03-22 16:20:48 +00:00
BuildRequires: vala-devel >= %{vala_version}
2010-06-30 17:14:22 +00:00
BuildRequires: gtk-doc
2012-11-07 16:45:51 +00:00
BuildRequires: intltool
2011-05-11 15:40:06 +00:00
Requires: dbus
2014-04-05 15:28:31 +00:00
Requires: glib2%{?_isa} >= %{glib2_version}
2010-06-12 20:12:33 +00:00
2010-05-20 20:54:48 +00:00
%description
dconf is a low-level configuration system. Its main purpose is to provide a
backend to the GSettings API in GLib.
2010-05-25 04:35:15 +00:00
%package devel
Summary: Header files and libraries for dconf development
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
2010-05-25 04:35:15 +00:00
%description devel
dconf development package. Contains files needed for doing software
development using dconf.
2010-06-26 15:28:33 +00:00
%package editor
Summary: Configuration editor for dconf
Group: Applications/System
Requires: %{name}%{?_isa} = %{version}-%{release}
2010-06-26 15:28:33 +00:00
%description editor
2011-11-04 21:32:41 +00:00
dconf-editor allows you to browse and modify dconf databases.
2010-06-26 15:28:33 +00:00
2010-05-20 20:54:48 +00:00
%prep
2010-06-12 20:12:33 +00:00
%setup -q
2010-05-20 20:54:48 +00:00
%build
2011-05-11 15:40:06 +00:00
%configure --disable-static
make V=1 %{?_smp_mflags}
2010-05-20 20:54:48 +00:00
%install
make install DESTDIR=$RPM_BUILD_ROOT
2012-11-07 16:45:51 +00:00
%find_lang dconf
2012-02-07 03:22:03 +00:00
%post
/sbin/ldconfig
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
2012-02-07 03:22:03 +00:00
2010-05-20 20:54:48 +00:00
%postun
/sbin/ldconfig
2011-05-11 15:40:06 +00:00
if [ $1 -eq 0 ] ; then
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%post editor
for d in hicolor HighContrast ; do
touch --no-create %{_datadir}/icons/$d &>/dev/null || :
done
%postun editor
if [ $1 -eq 0 ] ; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
for d in hicolor HighContrast ; do
touch --no-create %{_datadir}/icons/$d &>/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
done
fi
%posttrans editor
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
for d in hicolor HighContrast ; do
gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
done
2010-05-20 20:54:48 +00:00
2012-11-07 16:45:51 +00:00
%files -f dconf.lang
2010-05-20 20:54:48 +00:00
%doc COPYING
%dir %{_sysconfdir}/dconf
%dir %{_sysconfdir}/dconf/db
%dir %{_sysconfdir}/dconf/profile
2010-05-20 20:54:48 +00:00
%{_libdir}/gio/modules/libdconfsettings.so
%{_libexecdir}/dconf-service
%{_datadir}/dbus-1/services/ca.desrt.dconf.service
2010-05-25 04:35:15 +00:00
%{_bindir}/dconf
%{_libdir}/libdconf.so.*
2011-01-17 19:48:35 +00:00
%{_libdir}/libdconf-dbus-1.so.*
2012-07-17 12:05:07 +00:00
%{_datadir}/bash-completion/completions/dconf
2012-11-07 16:45:51 +00:00
%{_mandir}/man1/dconf-service.1.gz
%{_mandir}/man1/dconf.1.gz
%{_mandir}/man7/dconf.7.gz
2010-05-25 04:35:15 +00:00
%files devel
%{_includedir}/dconf
%{_libdir}/libdconf.so
%{_libdir}/pkgconfig/dconf.pc
2011-01-17 19:48:35 +00:00
%{_includedir}/dconf-dbus-1
%{_libdir}/libdconf-dbus-1.so
%{_libdir}/pkgconfig/dconf-dbus-1.pc
2010-06-12 20:12:33 +00:00
%{_datadir}/gtk-doc/html/dconf
2010-08-04 03:39:19 +00:00
%{_datadir}/vala
2010-05-20 20:54:48 +00:00
2010-06-26 15:28:33 +00:00
%files editor
%{_bindir}/dconf-editor
2014-02-19 08:15:08 +00:00
%{_datadir}/appdata/dconf-editor.appdata.xml
2011-01-17 19:48:35 +00:00
%{_datadir}/applications/dconf-editor.desktop
2013-06-09 02:49:17 +00:00
%{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml
2012-02-07 03:22:03 +00:00
%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
%{_datadir}/icons/HighContrast/*/apps/dconf-editor.png
%{_mandir}/man1/dconf-editor.1.gz
2010-06-26 15:28:33 +00:00
2010-05-20 20:54:48 +00:00
%changelog
* Fri Jul 11 2014 Parag <paragn AT fedoraproject DOT org> - 0.20.0-4
- Fix the directory ownership (rh#1056020)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-04-05 15:28:31 +00:00
* Sat Apr 05 2014 Kalev Lember <kalevlember@gmail.com> - 0.20.0-2
- Specify minimum glib version
2014-03-24 20:07:58 +00:00
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 0.20.0-1
- Update to 0.20.0
2014-03-18 15:01:52 +00:00
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 0.19.92-1
- Update to 0.19.92
2014-03-04 17:58:36 +00:00
* Tue Mar 04 2014 Richard Hughes <rhughes@redhat.com> - 0.19.91-1
- Update to 0.19.91
2014-02-18 15:34:15 +00:00
* Tue Feb 18 2014 Richard Hughes <rhughes@redhat.com> - 0.19.90-1
- Update to 0.19.90
2014-01-14 09:50:28 +00:00
* Tue Jan 14 2014 Richard Hughes <rhughes@redhat.com> - 0.19.3-1
- Update to 0.19.3
2013-11-14 16:47:40 +00:00
* Thu Nov 14 2013 Richard Hughes <rhughes@redhat.com> - 0.19.2-1
- Update to 0.19.2
* Thu Sep 26 2013 Kalev Lember <kalevlember@gmail.com> - 0.18.0-2
- Add missing glib-compile-schemas scriptlets to the -editor subpackage
2013-09-24 20:52:45 +00:00
* Tue Sep 24 2013 Kalev Lember <kalevlember@gmail.com> - 0.18.0-1
- Update to 0.18.0
2013-09-17 23:21:41 +00:00
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 0.17.1-1
- Update to 0.17.1
* Mon Aug 05 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.17.0-3
- Fix bogus date in %%changelog
- Compilation should be more verbose, add V=1
- Upstream does not install dconf-editor ui files
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-16 12:26:07 +00:00
* Tue Jul 16 2013 Richard Hughes <rhughes@redhat.com> - 0.17.0-1
- Update to 0.17.0
2013-06-09 02:49:17 +00:00
* Sat Jun 8 2013 Matthias Clasen <mclasen@redhat.com> - 0.16.0-2
- Move the editor schema to the right subpackage
2013-03-25 22:35:13 +00:00
* Mon Mar 25 2013 Kalev Lember <kalevlember@gmail.com> - 0.16.0-1
- Update to 0.16.0
* Mon Feb 11 2013 Kalev Lember <kalevlember@gmail.com> - 0.15.3-1
- Update to 0.15.3
- Install the HighContrast icons and update the icon cache scriptlets to take
this into account
* Sat Dec 22 2012 Rex Dieter <rdieter@fedoraproject.org> - 0.15.2-2
- -devel: drop Requires: glib2-devel, already gets pulled in via pkgconfig deps
- -editor: add icon scriptlets
- tighten subpkg deps via %%{_isa}
2012-11-20 20:16:16 +00:00
* Tue Nov 20 2012 Richard Hughes <hughsient@gmail.com> - 0.15.2-1
- Update to 0.15.2
* Fri Nov 09 2012 Kalev Lember <kalevlember@gmail.com> - 0.15.0-3
- Move some of the rpm scriptlets back to %%posttrans
(glib-compile-schemas, icon cache)
* Thu Nov 8 2012 Marek Kasik <mkasik@redhat.com> - 0.15.0-2
- Move dconf-editor's man page to the dconf-editor sub-package
* Wed Nov 7 2012 Marek Kasik <mkasik@redhat.com> - 0.15.0-1
- Update to 0.15.0
- Remove upstreamed patch
* Wed Nov 7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-4
- Move %%posttrans commands to %%post (rpmlint related)
* Wed Nov 7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-3
- Update License field
- Update Source URL
- Add link of corresponding bug for the memory leak patch
2012-11-07 16:45:51 +00:00
* Wed Nov 7 2012 Marek Kasik <mkasik@redhat.com> - 0.14.0-2.1
- Merge spec-file fixes from f18 branch
2012-10-21 17:30:38 +00:00
* Sun Oct 21 2012 Matthias Clasen <mclasen@redhat.com> - 0.14.0-2
- Fix a memory leak
2012-09-27 09:05:45 +00:00
- Update to 0.14.0
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-17 10:53:58 +00:00
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 0.13.4-1
- Update to 0.13.4
2012-06-07 08:13:25 +00:00
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 0.13.0-2
- Add missing file to file list.
2012-06-07 00:22:26 +00:00
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 0.13.0-1
- Update to 0.13.0
2012-05-05 19:56:33 +00:00
* Sat May 05 2012 Kalev Lember <kalevlember@gmail.com> - 0.12.1-1
- Update to 0.12.1
2012-03-26 22:30:04 +00:00
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 0.12.0-1
- Update to 0.12.0
2012-03-20 21:39:24 +00:00
* Tue Mar 20 2012 Kalev Lember <kalevlember@gmail.com> - 0.11.7-1
- Update to 0.11.7
2012-03-09 19:46:18 +00:00
* Fri Mar 9 2012 Matthias Clasen <mclasen@redhat.com> - 0.11.6-1
- Update to 0.11.6
2012-02-07 01:23:59 +00:00
* Mon Feb 6 2012 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1
- Update to 0.11.5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-11-21 23:36:34 +00:00
* Mon Nov 21 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.2-1
- Update to 0.11.2
2011-11-04 21:32:41 +00:00
* Fri Nov 4 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.0-2
- Fix a typo (#710700)
2011-11-02 18:35:54 +00:00
* Wed Nov 2 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.0-1
- Update to 0.11.0
2011-09-27 02:32:29 +00:00
* Mon Sep 26 2011 Ray <rstrode@redhat.com> - 0.10.0-1
- Update to 0.10.0
2011-09-19 23:43:32 +00:00
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.9.1-1
- Update to 0.9.1
2011-07-26 15:44:51 +00:00
* Tue Jul 26 2011 Matthias Clasen <mclasen@redhat.com> - 0.9.0-1
- Update to 0.9.0
2011-05-11 15:40:06 +00:00
* Wed May 11 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.7.5-1
- Update to 0.7.5
2011-05-06 15:15:41 +00:00
* Fri May 6 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.4-1
- Update to 0.7.4
2011-04-22 13:42:15 +00:00
2011-04-06 23:48:34 +00:00
* Wed Apr 6 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.3-2
- Fix a crash in dconf-editor
2011-03-22 16:20:48 +00:00
* Tue Mar 22 2011 Tomas Bzatek <tbzatek@redhat.com> - 0.7.3-1
- Update to 0.7.3
2011-02-11 00:28:39 +00:00
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.2-3
- Rebuild for newer gtk
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-05 22:53:04 +00:00
* Sat Feb 5 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.2-1
- Update to 0.7.2
2011-02-02 07:26:22 +00:00
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> - 0.7.1-1
- Update to 0.7.1
2011-01-17 18:44:04 +00:00
* Mon Jan 17 2011 Matthias Clasen <mclasen@redhat.com> - 0.7-1
- Update to 0.7
2010-09-29 21:05:38 +00:00
* Wed Sep 29 2010 jkeating - 0.5.1-2
- Rebuilt for gcc bug 634757
2010-09-21 22:43:57 +00:00
* Tue Sep 21 2010 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1
- Update to 0.5.1
2010-09-21 18:50:48 +00:00
2010-08-06 03:06:00 +00:00
* Thu Aug 5 2010 Matthias Clasen <mclasen@redhat.com> - 0.5-2
- Fix up shared library symlinks (#621733)
2010-08-04 02:40:46 +00:00
* Tue Aug 3 2010 Matthias Clasen <mclasen@redhat.com> - 0.5-1
- Update to 0.5
2010-07-13 00:31:40 +00:00
* Mon Jul 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.4.2-1
- Update to 0.4.2
2010-06-30 17:14:22 +00:00
* Wed Jun 30 2010 Colin Walters <walters@verbum.org> - 0.4.1-2
- Changes to support snapshot builds
2010-06-26 15:28:33 +00:00
* Sat Jun 26 2010 Matthias Clasen <mclasen@redhat.com> 0.4.1-1
- Update to 0.4.1
- Include dconf-editor (in a subpackage)
2010-06-23 18:33:13 +00:00
* Wed Jun 23 2010 Matthias Clasen <mclasen@redhat.com> 0.4-2
- Rebuild against glib 2.25.9
2010-06-12 19:32:56 +00:00
* Sat Jun 12 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1
- Update to 0.4
* Tue Jun 08 2010 Richard Hughes <rhughes@redhat.com> 0.3.2-0.1.20100608
- Update to a git snapshot so that users do not get a segfault in every
application using GSettings.
2010-06-02 15:20:37 +00:00
* Wed Jun 02 2010 Bastien Nocera <bnocera@redhat.com> 0.3.1-2
- Rebuild against latest glib2
* Mon May 24 2010 Matthias Clasen <mclasen@redhat.com> 0.3.1-1
2010-05-25 04:06:42 +00:00
- Update to 0.3.1
2010-05-25 04:35:15 +00:00
- Add a -devel subpackage
2010-05-25 04:06:42 +00:00
2010-05-21 22:22:55 +00:00
* Fri May 21 2010 Matthias Clasen <mclasen@redhat.com> 0.3-3
- Make batched writes (e.g. with delayed settings) work
2010-05-20 20:54:48 +00:00
* Thu May 20 2010 Matthias Clasen <mclasen@redhat.com> 0.3-2
- Make the registration of the backend work
* Wed May 19 2010 Matthias Clasen <mclasen@redhat.com> 0.3-1
- Initial packaging