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