]> git.pld-linux.org Git - packages/conglomerate.git/blob - conglomerate.spec
d476632638fdbeee0955e64483192da400d5b2ca
[packages/conglomerate.git] / conglomerate.spec
1 Summary:        Free user-friendly XML editor
2 Summary(pl):    Wolnodostêpny, przyjazny dla u¿ytkownika edytor XML-a
3 Name:           conglomerate
4 Version:        0.9.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/conglomerate/%{name}-%{version}.tar.gz
9 # Source0-md5:  b9c8bf5f5fc04a5e093f8a0e8a973d6a
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-locale-names.patch
12 URL:            http://www.conglomerate.org/
13 BuildRequires:  GConf2-devel >= 2.4.0
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake
16 BuildRequires:  enchant-devel >= 0.1.0
17 BuildRequires:  gtk+2-devel >= 2:2.4.3
18 BuildRequires:  gtk-doc >= 1.0
19 BuildRequires:  gtksourceview-devel >= 0.6
20 BuildRequires:  intltool >= 0.30
21 BuildRequires:  libglade2-devel >= 2.0.1
22 BuildRequires:  libgnomeprintui-devel >= 2.4.0
23 BuildRequires:  libgnomeui-devel >= 2.4.0
24 BuildRequires:  libtool
25 BuildRequires:  libxslt-devel >= 1.0.0
26 BuildRequires:  pkgconfig
27 BuildRequires:  scrollkeeper
28 Requires(post): GConf2
29 Requires(post,postun):  scrollkeeper
30 Requires:       gtk+2 >= 2:2.4.3
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Conglomerate is a free user-friendly XML editor. It attempts to hide
35 the gory details of XML from the end-user. It can support any XML file
36 format, but so far we have been concentrating on DocBook support. A
37 goal of the project is to create a free DocBook editor that Word users
38 can easily learn.
39
40 %description -l pl
41 Conglomerate to wolnodostêpny, przyjazny dla u¿ytkownika edytor XML-a.
42 Próbuje ukryæ mordercze szczegó³y XML-a przed koñcowym u¿ytkownikiem.
43 Potrafi obs³u¿yæ ka¿dy format pliku XML, ale jak na razie jego rozwój
44 jest skoncentrowany na obs³udze dla DocBooka. Celem projektu jest
45 stworzenie wolnodostêpnego edytora DocBooka, ³atwego do nauczenia dla
46 u¿ytkowników Worda.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52
53 mv po/{no,nb}.po
54
55 %build
56 glib-gettextize --copy --force
57 intltoolize --copy --force
58 %{__aclocal}
59 %{__autoheader}
60 %{__autoconf}
61 %{__automake}
62 %configure \
63         --enable-gtk-doc \
64         --disable-schemas-install \
65         --with-html-dir=%{_gtkdocdir} \
66         --enable-printing
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT \
75         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
76
77 %find_lang %{name} --with-gnome
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post
83 /usr/bin/scrollkeeper-update
84 %gconf_schema_install
85 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
86
87 %postun
88 /usr/bin/scrollkeeper-update
89 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %attr (755,root,root) %{_bindir}/*
94 %{_sysconfdir}/gconf/schemas/*
95 %{_datadir}/%{name}
96 %{_desktopdir}/*
97 %{_pixmapsdir}/*.png
98 %{_pixmapsdir}/%{name}
99 %{_omf_dest_dir}/*
100 %{_gtkdocdir}/%{name}
101 %{_datadir}/application-registry/*
102 %{_datadir}/mime-info/*
This page took 0.051607 seconds and 2 git commands to generate.