]>
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 |
ffad9606 MB |
4 | Version: 2.22.0 |
5 | Release: 1 | |
3356ea28 | 6 | License: GPL v2+ |
1ec1e22d | 7 | Group: X11/Applications |
ffad9606 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/2.22/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 7ca99aec214dd855b5de7dacc8937055 | |
10 | BuildRequires: GConf2-devel >= 2.22.0 | |
fcb68908 | 11 | BuildRequires: autoconf |
aa63c311 | 12 | BuildRequires: automake |
ffad9606 | 13 | BuildRequires: gettext-devel |
6e08d72f | 14 | BuildRequires: gnome-common >= 2.20.0 |
ffad9606 MB |
15 | BuildRequires: gnome-doc-utils >= 0.12.0 |
16 | BuildRequires: gtk+2-devel >= 2:2.12.8 | |
17 | BuildRequires: intltool >= 0.36.2 | |
18 | BuildRequires: libgnomeui-devel >= 2.22.01 | |
aa63c311 | 19 | BuildRequires: libtool |
a05f2474 | 20 | BuildRequires: pkgconfig |
ffad9606 | 21 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
e6f3621f | 22 | BuildRequires: rpmbuild(macros) >= 1.311 |
a05f2474 | 23 | BuildRequires: scrollkeeper |
ffad9606 | 24 | BuildRequires: sed >= 4.0 |
8a6a917f MB |
25 | Requires(post,postun): gtk+2 |
26 | Requires(post,postun): hicolor-icon-theme | |
ffad9606 | 27 | Requires(post,postun): scrollkeeper |
8a6a917f | 28 | Requires(post,preun): GConf2 |
ffad9606 | 29 | Requires: libgnomeui >= 2.22.01 |
abe821d8 | 30 | # sr@Latn vs. sr@latin |
31 | Conflicts: glibc-misc < 6:2.7 | |
515a6423 | 32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1ec1e22d | 33 | |
967c5ac3 | 34 | %description |
83fc3fd4 | 35 | An editor for the GConf configuration system. |
1ec1e22d | 36 | |
4e4d5e84 | 37 | %description -l pl.UTF-8 |
83fc3fd4 | 38 | Edytor do systemu konfiguracji GConf. |
967c5ac3 | 39 | |
40 | %prep | |
41 | %setup -q | |
42 | ||
ffad9606 MB |
43 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS |
44 | mv po/sr@{Latn,latin}.po | |
45 | ||
967c5ac3 | 46 | %build |
a4e3f0f0 | 47 | %{__intltoolize} |
48 | %{__gnome_doc_common} | |
aa63c311 | 49 | %{__libtoolize} |
fcb68908 | 50 | %{__aclocal} |
51 | %{__autoconf} | |
ffad9606 | 52 | %{__autoheader} |
fcb68908 | 53 | %{__automake} |
9727da29 | 54 | %configure \ |
55 | --disable-scrollkeeper | |
1ec1e22d | 56 | %{__make} |
967c5ac3 | 57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
0e1e3d6b | 61 | %{__make} install \ |
62 | DESTDIR=$RPM_BUILD_ROOT | |
967c5ac3 | 63 | |
ffad9606 | 64 | %find_lang %{name} --with-gnome --with-omf |
967c5ac3 | 65 | |
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
ab4724e9 | 69 | %post |
9727da29 | 70 | %scrollkeeper_update_post |
692c104e | 71 | %gconf_schema_install gconf-editor.schemas |
e6f3621f | 72 | %update_icon_cache hicolor |
ab4724e9 | 73 | |
692c104e | 74 | %preun |
75 | %gconf_schema_uninstall gconf-editor.schemas | |
76 | ||
77 | %postun | |
9727da29 | 78 | %scrollkeeper_update_postun |
e6f3621f | 79 | %update_icon_cache hicolor |
ab4724e9 | 80 | |
967c5ac3 | 81 | %files -f %{name}.lang |
1ec1e22d | 82 | %defattr(644,root,root,755) |
dd51e9de | 83 | %doc AUTHORS ChangeLog NEWS README |
ffad9606 MB |
84 | %attr(755,root,root) %{_bindir}/gconf-editor |
85 | %{_desktopdir}/gconf-editor.desktop | |
773f3bfe | 86 | %{_iconsdir}/hicolor/*/*/*.png |
ffad9606 MB |
87 | %{_mandir}/man1/gconf-editor.1* |
88 | %{_pixmapsdir}/gconf-editor | |
3356ea28 | 89 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas |