]> git.pld-linux.org Git - packages/conglomerate.git/blob - conglomerate.spec
- use new faster rpm's GConf automation
[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:        2
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.10.0
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake
16 BuildRequires:  enchant-devel >= 0.1.0
17 BuildRequires:  gtk+2-devel >= 2:2.6.4
18 BuildRequires:  gtk-doc >= 1.0
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
24 BuildRequires:  libtool
25 BuildRequires:  libxslt-devel >= 1.1.14
26 BuildRequires:  pkgconfig
27 BuildRequires:  rpmbuild(macros) >= 1.196
28 BuildRequires:  scrollkeeper
29 Requires(post,preun):   GConf2
30 Requires(post,postun):  desktop-file-utils
31 Requires(post,postun):  scrollkeeper
32 Requires:       gtk+2 >= 2:2.6.4
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Conglomerate is a free user-friendly XML editor. It attempts to hide
37 the gory details of XML from the end-user. It can support any XML file
38 format, but so far we have been concentrating on DocBook support. A
39 goal of the project is to create a free DocBook editor that Word users
40 can easily learn.
41
42 %description -l pl
43 Conglomerate to wolnodostêpny, przyjazny dla u¿ytkownika edytor XML-a.
44 Próbuje ukryæ mordercze szczegó³y XML-a przed koñcowym u¿ytkownikiem.
45 Potrafi obs³u¿yæ ka¿dy format pliku XML, ale jak na razie jego rozwój
46 jest skoncentrowany na obs³udze dla DocBooka. Celem projektu jest
47 stworzenie wolnodostêpnego edytora DocBooka, ³atwego do nauczenia dla
48 u¿ytkowników Worda.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54
55 mv po/{no,nb}.po
56
57 %build
58 glib-gettextize --copy --force
59 intltoolize --copy --force
60 %{__aclocal}
61 %{__autoheader}
62 %{__autoconf}
63 %{__automake}
64 %configure \
65         --enable-gtk-doc \
66         --disable-schemas-install \
67         --with-html-dir=%{_gtkdocdir} \
68         --enable-printing
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT \
76         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
77
78 rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
79
80 %find_lang %{name} --with-gnome
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post
86 %gconf_schema_install /etc/gconf/schemas/conglomerate.schemas
87 /usr/bin/scrollkeeper-update -q
88 /usr/bin/update-desktop-database
89
90 %preun
91 if [ $1 = 0 ]; then
92         %gconf_schema_uninstall /etc/gconf/schemas/conglomerate.schemas
93 fi
94
95 %postun
96 if [ $1 = 0 ]; then
97         /usr/bin/scrollkeeper-update -q
98         /usr/bin/update-desktop-database
99 fi
100
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %attr (755,root,root) %{_bindir}/*
104 %{_sysconfdir}/gconf/schemas/*
105 %{_datadir}/%{name}
106 %{_desktopdir}/*
107 %{_pixmapsdir}/*.png
108 %{_pixmapsdir}/%{name}
109 %{_omf_dest_dir}/*
110 %{_gtkdocdir}/%{name}
This page took 0.164176 seconds and 3 git commands to generate.