[5335] | 1 | %define gtk3_version 3.2.3 |
---|
| 2 | %define gconf2_version 3.2.3 |
---|
[2041] | 3 | %define desktop_file_utils_version 0.16 |
---|
| 4 | %define gnome_doc_utils_version 0.20.1 |
---|
[521] | 5 | |
---|
| 6 | Summary: Editor/admin tool for GConf |
---|
| 7 | Summary(ja): GConf の編集/管理ツール |
---|
| 8 | Name: gconf-editor |
---|
[5335] | 9 | Version: 3.0.1 |
---|
[521] | 10 | Release: 1%{?_dist_release} |
---|
| 11 | URL: http://www.gnome.org/ |
---|
[5335] | 12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/3.0/%{name}-%{version}.tar.xz |
---|
[521] | 13 | Patch10: gconf-editor-2.14.0-fix-incorrect-g_free.patch |
---|
| 14 | License: GPL |
---|
| 15 | Group: Applications/System |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-root |
---|
| 17 | |
---|
| 18 | Requires(post,pre,preun): GConf2 |
---|
| 19 | Requires(post): scrollkeeper |
---|
| 20 | |
---|
[4616] | 21 | BuildRequires: gtk3-devel >= %{gtk3_version} |
---|
[521] | 22 | BuildRequires: GConf2-devel >= %{gconf2_version} |
---|
| 23 | BuildRequires: dbus-glib-devel |
---|
| 24 | BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} |
---|
[871] | 25 | BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version} |
---|
| 26 | BuildRequires: docbook-utils |
---|
[521] | 27 | |
---|
[4616] | 28 | Vendor: Project Vine |
---|
| 29 | Distribution: Vine Linux |
---|
| 30 | Packager: Takemikaduchi |
---|
| 31 | |
---|
[521] | 32 | %description |
---|
| 33 | gconf-editor allows you to browse and modify GConf configuration |
---|
| 34 | sources. |
---|
| 35 | |
---|
| 36 | %description -l ja |
---|
| 37 | gconf-editor により GConf の設定を参照したり変更したりすることができます。 |
---|
| 38 | |
---|
| 39 | %prep |
---|
| 40 | %setup -q |
---|
| 41 | #patch10 -p1 -b .fix-incorrect-g_free |
---|
| 42 | |
---|
| 43 | # fix desktop file Icon path |
---|
| 44 | sed -i -e "s/gconf-editor\.png/gconf-editor/" \ |
---|
| 45 | data/gconf-editor.desktop.in.in |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure --disable-schemas-install --disable-scrollkeeper |
---|
| 49 | %__make %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | %makeinstall |
---|
| 54 | |
---|
| 55 | desktop-file-install --vendor gnome --delete-original \ |
---|
| 56 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 57 | $RPM_BUILD_ROOT%{_datadir}/applications/* |
---|
| 58 | |
---|
| 59 | %find_lang %{name} --with-gnome |
---|
| 60 | |
---|
| 61 | # remove unpackaged files |
---|
| 62 | rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache |
---|
| 63 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | |
---|
| 68 | %post |
---|
| 69 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 70 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 71 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gconf-editor.schemas > /dev/null |
---|
| 72 | |
---|
| 73 | %pre |
---|
| 74 | if [ "$1" -gt 1 ]; then |
---|
| 75 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 76 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 77 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas >/dev/null || : |
---|
| 78 | fi |
---|
| 79 | |
---|
| 80 | %preun |
---|
| 81 | if [ "$1" -eq 0 ]; then |
---|
| 82 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 83 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 84 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas >/dev/null || : |
---|
| 85 | fi |
---|
| 86 | |
---|
| 87 | %postun |
---|
| 88 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 89 | |
---|
| 90 | %files -f %{name}.lang |
---|
| 91 | %defattr(-,root,root) |
---|
| 92 | %config %{_sysconfdir}/gconf/schemas/* |
---|
| 93 | %{_bindir}/* |
---|
| 94 | %{_datadir}/applications/* |
---|
| 95 | %{_datadir}/gconf-editor |
---|
| 96 | %{_datadir}/icons/hicolor/*/apps/* |
---|
| 97 | %{_mandir}/man1/* |
---|
| 98 | |
---|
| 99 | %changelog |
---|
[5335] | 100 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[4616] | 103 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
| 104 | - new upstream release |
---|
| 105 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 106 | |
---|
[2041] | 107 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
[871] | 110 | * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 111 | - new upstream release |
---|
| 112 | - add BuildRequires: gnome-doc-utils, docbook-utils |
---|
| 113 | |
---|
[521] | 114 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
| 117 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
| 120 | * Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0.1-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
| 123 | * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
| 126 | * Wed Jul 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
| 129 | * Mon Sep 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2 |
---|
| 130 | - add Patch10 to fix incorrect g_free. (<BTS:0168>) |
---|
| 131 | |
---|
| 132 | * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1 |
---|
| 133 | - new upstream release |
---|
| 134 | |
---|
| 135 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1 |
---|
| 136 | - new upstream release |
---|
| 137 | |
---|
| 138 | * Sun Dec 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-0vl1 |
---|
| 139 | - new upstream release |
---|
| 140 | - added Japanese summary |
---|
| 141 | |
---|
| 142 | * Sun Sep 07 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
| 145 | * Wed Dec 25 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0-0vl2 |
---|
| 146 | - remove redhat category |
---|
| 147 | |
---|
| 148 | * Mon Dec 16 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0-0vl1 |
---|
| 149 | - build for Vine Linux |
---|
| 150 | - new upstream release |
---|
| 151 | |
---|
| 152 | * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com> |
---|
| 153 | - 0.3 |
---|
| 154 | |
---|
| 155 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 156 | - automated rebuild |
---|
| 157 | |
---|
| 158 | * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com> |
---|
| 159 | - require gconf 1.2.0, rebuild with that |
---|
| 160 | - use desktop-file-install for .desktop file |
---|
| 161 | - include .desktop file and pixmaps in file list |
---|
| 162 | |
---|
| 163 | * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com> |
---|
| 164 | - rebuild in different environment |
---|
| 165 | |
---|
| 166 | * Tue Jun 04 2002 Havoc Pennington <hp@redhat.com> |
---|
| 167 | - rebuild in different environment |
---|
| 168 | |
---|
| 169 | * Sun May 26 2002 Tim Powers <timp@redhat.com> |
---|
| 170 | - automated rebuild |
---|
| 171 | |
---|
| 172 | * Mon May 20 2002 Havoc Pennington <hp@redhat.com> |
---|
| 173 | - rebuild in different environment |
---|
| 174 | |
---|
| 175 | * Mon May 20 2002 Havoc Pennington <hp@redhat.com> |
---|
| 176 | - 0.2 |
---|
| 177 | |
---|
| 178 | * Fri May 3 2002 Havoc Pennington <hp@redhat.com> |
---|
| 179 | - rebuild with new libs |
---|
| 180 | |
---|
| 181 | * Fri May 03 2002 Havoc Pennington <hp@redhat.com> |
---|
| 182 | - rebuild in different environment |
---|
| 183 | |
---|
| 184 | * Wed Apr 17 2002 Havoc Pennington <hp@redhat.com> |
---|
| 185 | - Initial build. |
---|
| 186 | |
---|