]>
Commit | Line | Data |
---|---|---|
1ec1e22d | 1 | Summary: An editor for the GConf configuration system |
eed35be8 | 2 | Summary(pl.UTF-8): Edytor do systemu konfiguracji GConf |
1ec1e22d | 3 | Name: gconf-editor |
6e08d72f | 4 | Version: 2.20.0 |
e6f3621f | 5 | Release: 1 |
3356ea28 | 6 | License: GPL v2+ |
1ec1e22d | 7 | Group: X11/Applications |
6e08d72f PZ |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/2.20/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: b686677878b5754ffa8d0a2cc1129988 | |
8a6a917f | 10 | BuildRequires: GConf2-devel >= 2.18.0.1 |
fcb68908 | 11 | BuildRequires: autoconf |
aa63c311 | 12 | BuildRequires: automake |
6e08d72f | 13 | BuildRequires: gnome-common >= 2.20.0 |
8a6a917f | 14 | BuildRequires: gnome-doc-utils >= 0.10.1 |
6e08d72f PZ |
15 | BuildRequires: gtk+2-devel >= 2:2.12.0 |
16 | BuildRequires: libgnomeui-devel >= 2.19.1 | |
aa63c311 | 17 | BuildRequires: libtool |
a05f2474 | 18 | BuildRequires: pkgconfig |
e6f3621f | 19 | BuildRequires: rpmbuild(macros) >= 1.311 |
a05f2474 | 20 | BuildRequires: scrollkeeper |
8a6a917f MB |
21 | Requires(post,postun): gtk+2 |
22 | Requires(post,postun): hicolor-icon-theme | |
23 | Requires(post,preun): GConf2 | |
a6bd023f | 24 | Requires: libgnomeui >= 2.19.1 |
515a6423 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1ec1e22d | 26 | |
967c5ac3 | 27 | %description |
83fc3fd4 | 28 | An editor for the GConf configuration system. |
1ec1e22d | 29 | |
4e4d5e84 | 30 | %description -l pl.UTF-8 |
83fc3fd4 | 31 | Edytor do systemu konfiguracji GConf. |
967c5ac3 | 32 | |
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
aa7b889f | 37 | mkdir m4 |
a4e3f0f0 | 38 | %{__intltoolize} |
39 | %{__gnome_doc_common} | |
aa63c311 | 40 | %{__libtoolize} |
fcb68908 | 41 | %{__aclocal} |
42 | %{__autoconf} | |
43 | %{__automake} | |
9727da29 | 44 | %configure \ |
45 | --disable-scrollkeeper | |
1ec1e22d | 46 | %{__make} |
967c5ac3 | 47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
0e1e3d6b | 51 | %{__make} install \ |
52 | DESTDIR=$RPM_BUILD_ROOT | |
967c5ac3 | 53 | |
ab4724e9 | 54 | %find_lang %{name} --with-gnome |
967c5ac3 | 55 | |
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
ab4724e9 | 59 | %post |
9727da29 | 60 | %scrollkeeper_update_post |
692c104e | 61 | %gconf_schema_install gconf-editor.schemas |
e6f3621f | 62 | %update_icon_cache hicolor |
ab4724e9 | 63 | |
692c104e | 64 | %preun |
65 | %gconf_schema_uninstall gconf-editor.schemas | |
66 | ||
67 | %postun | |
9727da29 | 68 | %scrollkeeper_update_postun |
e6f3621f | 69 | %update_icon_cache hicolor |
ab4724e9 | 70 | |
967c5ac3 | 71 | %files -f %{name}.lang |
1ec1e22d | 72 | %defattr(644,root,root,755) |
dd51e9de | 73 | %doc AUTHORS ChangeLog NEWS README |
1ec1e22d | 74 | %attr(755,root,root) %{_bindir}/* |
5f94c129 | 75 | %{_desktopdir}/*.desktop |
773f3bfe | 76 | %{_iconsdir}/hicolor/*/*/*.png |
aa63c311 | 77 | %{_mandir}/man1/* |
3356ea28 | 78 | %{_pixmapsdir}/* |
9727da29 | 79 | %dir %{_omf_dest_dir}/%{name} |
8a6a917f | 80 | %{_omf_dest_dir}/gconf-editor/gconf-editor-C.omf |
aa7b889f MB |
81 | %lang(de) %{_omf_dest_dir}/gconf-editor/gconf-editor-de.omf |
82 | %lang(es) %{_omf_dest_dir}/gconf-editor/gconf-editor-es.omf | |
8a6a917f MB |
83 | %lang(fr) %{_omf_dest_dir}/gconf-editor/gconf-editor-fr.omf |
84 | %lang(it) %{_omf_dest_dir}/gconf-editor/gconf-editor-it.omf | |
aa7b889f | 85 | %lang(oc) %{_omf_dest_dir}/gconf-editor/gconf-editor-oc.omf |
8a6a917f | 86 | %lang(sv) %{_omf_dest_dir}/gconf-editor/gconf-editor-sv.omf |
aa7b889f | 87 | %lang(uk) %{_omf_dest_dir}/gconf-editor/gconf-editor-uk.omf |
3356ea28 | 88 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas |