]>
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 |
1d873dcf | 4 | Version: 2.32.0 |
ffad9606 | 5 | Release: 1 |
3356ea28 | 6 | License: GPL v2+ |
1ec1e22d | 7 | Group: X11/Applications |
1d873dcf | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gconf-editor/2.32/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 14e413e88380b0d7a463c2beea3bac2e | |
d1b00ee3 | 10 | BuildRequires: GConf2-devel >= 2.24.0 |
fcb68908 | 11 | BuildRequires: autoconf |
d1b00ee3 | 12 | BuildRequires: automake >= 1:1.9 |
a083bf76 | 13 | BuildRequires: dbus-glib-devel >= 0.74 |
1fd982c6 | 14 | BuildRequires: docbook-dtd412-xml |
ffad9606 | 15 | BuildRequires: gettext-devel |
6e08d72f | 16 | BuildRequires: gnome-common >= 2.20.0 |
d1b00ee3 | 17 | BuildRequires: gnome-doc-utils >= 0.14.0 |
a083bf76 | 18 | BuildRequires: gtk+2-devel >= 2:2.16.0 |
d1b00ee3 | 19 | BuildRequires: intltool >= 0.40.0 |
aa63c311 | 20 | BuildRequires: libtool |
a05f2474 | 21 | BuildRequires: pkgconfig |
ffad9606 | 22 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
e6f3621f | 23 | BuildRequires: rpmbuild(macros) >= 1.311 |
a05f2474 | 24 | BuildRequires: scrollkeeper |
7499bfde | 25 | BuildRequires: sed >= 4.0 |
8a6a917f MB |
26 | Requires(post,postun): gtk+2 |
27 | Requires(post,postun): hicolor-icon-theme | |
ffad9606 | 28 | Requires(post,postun): scrollkeeper |
8a6a917f | 29 | Requires(post,preun): GConf2 |
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 | ||
7499bfde MB |
43 | sed -i -e 's/^en@shaw//' po/LINGUAS |
44 | rm -f po/en@shaw.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 |
d1b00ee3 MB |
87 | %dir %{_datadir}/gconf-editor |
88 | %{_datadir}/gconf-editor/icons | |
ffad9606 | 89 | %{_mandir}/man1/gconf-editor.1* |
3356ea28 | 90 | %{_sysconfdir}/gconf/schemas/gconf-editor.schemas |