]>
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 |
abe821d8 | 5 | Release: 2 |
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 |
abe821d8 | 25 | # sr@Latn vs. sr@latin |
26 | Conflicts: glibc-misc < 6:2.7 | |
515a6423 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1ec1e22d | 28 | |
967c5ac3 | 29 | %description |
83fc3fd4 | 30 | An editor for the GConf configuration system. |
1ec1e22d | 31 | |
4e4d5e84 | 32 | %description -l pl.UTF-8 |
83fc3fd4 | 33 | Edytor do systemu konfiguracji GConf. |
967c5ac3 | 34 | |
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
aa7b889f | 39 | mkdir m4 |
a4e3f0f0 | 40 | %{__intltoolize} |
41 | %{__gnome_doc_common} | |
aa63c311 | 42 | %{__libtoolize} |
fcb68908 | 43 | %{__aclocal} |
44 | %{__autoconf} | |
45 | %{__automake} | |
9727da29 | 46 | %configure \ |
47 | --disable-scrollkeeper | |
1ec1e22d | 48 | %{__make} |
967c5ac3 | 49 | |
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
0e1e3d6b | 53 | %{__make} install \ |
54 | DESTDIR=$RPM_BUILD_ROOT | |
967c5ac3 | 55 | |
abe821d8 | 56 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
57 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
ab4724e9 | 58 | %find_lang %{name} --with-gnome |
967c5ac3 | 59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
ab4724e9 | 63 | %post |
9727da29 | 64 | %scrollkeeper_update_post |
692c104e | 65 | %gconf_schema_install gconf-editor.schemas |
e6f3621f | 66 | %update_icon_cache hicolor |
ab4724e9 | 67 | |
692c104e | 68 | %preun |
69 | %gconf_schema_uninstall gconf-editor.schemas | |
70 | ||
71 | %postun | |
9727da29 | 72 | %scrollkeeper_update_postun |
e6f3621f | 73 | %update_icon_cache hicolor |
ab4724e9 | 74 | |
967c5ac3 | 75 | %files -f %{name}.lang |
1ec1e22d | 76 | %defattr(644,root,root,755) |
dd51e9de | 77 | %doc AUTHORS ChangeLog NEWS README |
1ec1e22d | 78 | %attr(755,root,root) %{_bindir}/* |
5f94c129 | 79 | %{_desktopdir}/*.desktop |
773f3bfe | 80 | %{_iconsdir}/hicolor/*/*/*.png |
aa63c311 | 81 | %{_mandir}/man1/* |
3356ea28 | 82 | %{_pixmapsdir}/* |
9727da29 | 83 | %dir %{_omf_dest_dir}/%{name} |
8a6a917f | 84 | %{_omf_dest_dir}/gconf-editor/gconf-editor-C.omf |
aa7b889f MB |
85 | %lang(de) %{_omf_dest_dir}/gconf-editor/gconf-editor-de.omf |
86 | %lang(es) %{_omf_dest_dir}/gconf-editor/gconf-editor-es.omf | |
8a6a917f MB |
87 | %lang(fr) %{_omf_dest_dir}/gconf-editor/gconf-editor-fr.omf |
88 | %lang(it) %{_omf_dest_dir}/gconf-editor/gconf-editor-it.omf | |
aa7b889f | 89 | %lang(oc) %{_omf_dest_dir}/gconf-editor/gconf-editor-oc.omf |
8a6a917f | 90 | %lang(sv) %{_omf_dest_dir}/gconf-editor/gconf-editor-sv.omf |
aa7b889f | 91 | %lang(uk) %{_omf_dest_dir}/gconf-editor/gconf-editor-uk.omf |
3356ea28 | 92 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas |