]>
Commit | Line | Data |
---|---|---|
d27e9e69 | 1 | Summary: Free user-friendly XML editor |
a584567d | 2 | Summary(pl.UTF-8): Wolnodostępny, przyjazny dla użytkownika edytor XML-a |
d27e9e69 | 3 | Name: conglomerate |
4ec2ffd2 | 4 | Version: 0.9.1 |
dd82c0ea | 5 | Release: 2 |
223d58b0 | 6 | License: GPL v2 |
d27e9e69 | 7 | Group: X11/Applications |
223d58b0 | 8 | Source0: http://dl.sourceforge.net/conglomerate/%{name}-%{version}.tar.gz |
4ec2ffd2 | 9 | # Source0-md5: 49ad67492e947d6c15e5b875d8360890 |
6fbfaa96 | 10 | Patch0: %{name}-desktop.patch |
71100d64 | 11 | Patch1: %{name}-locale-names.patch |
7b26d1cc | 12 | URL: http://www.conglomerate.org/ |
dd82c0ea | 13 | BuildRequires: GConf2-devel >= 2.10.0 |
c78ccbd7 | 14 | BuildRequires: autoconf >= 2.52 |
039a540f | 15 | BuildRequires: automake |
c78ccbd7 | 16 | BuildRequires: enchant-devel >= 0.1.0 |
dd82c0ea | 17 | BuildRequires: gtk+2-devel >= 2:2.6.4 |
977dd7c7 | 18 | BuildRequires: gtk-doc >= 1.0 |
dd82c0ea | 19 | BuildRequires: gtksourceview-devel >= 1.2.0 |
20 | BuildRequires: intltool >= 0.33 | |
21 | BuildRequires: libglade2-devel >= 1:2.5.1 | |
22 | BuildRequires: libgnomeprintui-devel >= 2.10.2 | |
23 | BuildRequires: libgnomeui-devel >= 2.10.0-2 | |
223d58b0 | 24 | BuildRequires: libtool |
dd82c0ea | 25 | BuildRequires: libxslt-devel >= 1.1.14 |
223d58b0 | 26 | BuildRequires: pkgconfig |
0ec5ddbf | 27 | BuildRequires: popt-devel |
aa90e1a6 | 28 | BuildRequires: rpmbuild(macros) >= 1.197 |
223d58b0 | 29 | BuildRequires: scrollkeeper |
dd82c0ea | 30 | Requires(post,preun): GConf2 |
31 | Requires(post,postun): desktop-file-utils | |
c78ccbd7 | 32 | Requires(post,postun): scrollkeeper |
dd82c0ea | 33 | Requires: gtk+2 >= 2:2.6.4 |
c1d57517 | 34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d27e9e69 | 35 | |
36 | %description | |
37 | Conglomerate is a free user-friendly XML editor. It attempts to hide | |
38 | the gory details of XML from the end-user. It can support any XML file | |
39 | format, but so far we have been concentrating on DocBook support. A | |
40 | goal of the project is to create a free DocBook editor that Word users | |
41 | can easily learn. | |
42 | ||
5458553c JR |
43 | %description -l pl.UTF-8 |
44 | Conglomerate to wolnodostępny, przyjazny dla użytkownika edytor XML-a. | |
45 | Próbuje ukryć mordercze szczegóły XML-a przed końcowym użytkownikiem. | |
46 | Potrafi obsłużyć każdy format pliku XML, ale jak na razie jego rozwój | |
47 | jest skoncentrowany na obsłudze dla DocBooka. Celem projektu jest | |
48 | stworzenie wolnodostępnego edytora DocBooka, łatwego do nauczenia dla | |
49 | użytkowników Worda. | |
e4fcec6e | 50 | |
d27e9e69 | 51 | %prep |
52 | %setup -q | |
6fbfaa96 | 53 | %patch0 -p1 |
71100d64 | 54 | %patch1 -p1 |
55 | ||
56 | mv po/{no,nb}.po | |
d27e9e69 | 57 | |
58 | %build | |
aa90e1a6 | 59 | %{__glib_gettextize} |
60 | %{__intltoolize} | |
039a540f | 61 | %{__aclocal} |
62 | %{__autoheader} | |
63 | %{__autoconf} | |
64 | %{__automake} | |
d9693cfa | 65 | %configure \ |
66 | --enable-gtk-doc \ | |
62453d84 | 67 | --disable-schemas-install \ |
5211f5d5 | 68 | --with-html-dir=%{_gtkdocdir} \ |
69 | --enable-printing | |
d27e9e69 | 70 | %{__make} |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} install \ | |
62453d84 | 76 | DESTDIR=$RPM_BUILD_ROOT \ |
77 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
d27e9e69 | 78 | |
dd82c0ea | 79 | rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info} |
80 | ||
a49b75df | 81 | %find_lang %{name} --with-gnome |
d27e9e69 | 82 | |
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
62453d84 | 86 | %post |
aa90e1a6 | 87 | %gconf_schema_install conglomerate.schemas |
88 | %scrollkeeper_update_post | |
89 | %update_desktop_database_post | |
dd82c0ea | 90 | |
91 | %preun | |
aa90e1a6 | 92 | %gconf_schema_uninstall conglomerate.schemas |
62453d84 | 93 | |
c78ccbd7 | 94 | %postun |
aa90e1a6 | 95 | %scrollkeeper_update_postun |
96 | %update_desktop_database_postun | |
a49b75df | 97 | |
d27e9e69 | 98 | %files -f %{name}.lang |
99 | %defattr(644,root,root,755) | |
6fbfaa96 | 100 | %attr (755,root,root) %{_bindir}/* |
62453d84 | 101 | %{_sysconfdir}/gconf/schemas/* |
6fbfaa96 | 102 | %{_datadir}/%{name} |
acf00328 | 103 | %{_desktopdir}/*.desktop |
6fbfaa96 | 104 | %{_pixmapsdir}/*.png |
977dd7c7 | 105 | %{_pixmapsdir}/%{name} |
a49b75df | 106 | %{_omf_dest_dir}/* |
977dd7c7 | 107 | %{_gtkdocdir}/%{name} |