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