]> git.pld-linux.org Git - packages/conglomerate.git/blob - conglomerate.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[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.1
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:  49ad67492e947d6c15e5b875d8360890
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:  popt-devel
28 BuildRequires:  rpmbuild(macros) >= 1.197
29 BuildRequires:  scrollkeeper
30 Requires(post,preun):   GConf2
31 Requires(post,postun):  desktop-file-utils
32 Requires(post,postun):  scrollkeeper
33 Requires:       gtk+2 >= 2:2.6.4
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
43 %description -l pl
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.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55
56 mv po/{no,nb}.po
57
58 %build
59 %{__glib_gettextize}
60 %{__intltoolize}
61 %{__aclocal}
62 %{__autoheader}
63 %{__autoconf}
64 %{__automake}
65 %configure \
66         --enable-gtk-doc \
67         --disable-schemas-install \
68         --with-html-dir=%{_gtkdocdir} \
69         --enable-printing
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT \
77         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
78
79 rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
80
81 %find_lang %{name} --with-gnome
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post
87 %gconf_schema_install conglomerate.schemas
88 %scrollkeeper_update_post
89 %update_desktop_database_post
90
91 %preun
92 %gconf_schema_uninstall conglomerate.schemas
93
94 %postun
95 %scrollkeeper_update_postun
96 %update_desktop_database_postun
97
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %attr (755,root,root) %{_bindir}/*
101 %{_sysconfdir}/gconf/schemas/*
102 %{_datadir}/%{name}
103 %{_desktopdir}/*.desktop
104 %{_pixmapsdir}/*.png
105 %{_pixmapsdir}/%{name}
106 %{_omf_dest_dir}/*
107 %{_gtkdocdir}/%{name}
This page took 0.098317 seconds and 3 git commands to generate.