Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 59b418c1753a26b84d5ebf2daf7642ca > files > 3

conglomerate-0.7.12-1mdk.src.rpm

%define version 0.7.12
%define release 1mdk

Summary:	A structural XML document editor
Name:		conglomerate
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		Editors
URL:		http://www.conglomerate.org/
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

Source:		%{name}-%{version}.tar.bz2
Source1:	%{name}-48.png

BuildRequires:	gtksourceview-devel >= 0.6
BuildRequires:	libgnomeui2-devel
BuildRequires:	libxslt-devel
BuildRequires:	libglade2.0-devel >= 2.0.0
BuildRequires:	scrollkeeper
BuildRequires:	perl-XML-Parser
Prereq:		scrollkeeper
Prereq:		yelp
# (Abel) libxml2 before 2.6.5 would cause yelp-pregenerate to segfault with
# conglomerate help files
Prereq:		libxml2 >= 2.6.5

%description
Conglomerate is an XML editor for GNOME, aiming to be as user-friendly as
possible, to help non-technical people to use DocBook and similar formats.


%prep
%setup -q

%build
%configure2_5x
%make

%install
rm -rf %{buildroot}
%makeinstall_std

# menu entry
mkdir -p %{buildroot}%{_menudir}
cat > %{buildroot}%{_menudir}/%{name} << _EOF_
?package(%{name}): \
 command="%{_bindir}/conglomerate" \
 icon="%{name}.png" \
 longtitle="Edit XML files" \
 needs="x11" \
 section="Applications/Editors" \
 title="Conglomerate XML Editor"
_EOF_

install -D pixmaps/conglomerate-icon-16.png %{buildroot}%{_miconsdir}/%{name}.png
install -D %{SOURCE1} %{buildroot}%{_liconsdir}/%{name}.png
install -D pixmaps/conglomerate-icon-32.png %{buildroot}%{_iconsdir}/%{name}.png

#install -m 0644 doc/C/faq.xml %{buildroot}%{_datadir}/gnome/help/%{name}/C/faq.xml

%{find_lang} %{name} --with-gnome

touch %{buildroot}%{_datadir}/gnome/help/%{name}/C/%{name}.html


%clean
rm -rf %{buildroot}

%post
%update_menus
if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q; fi
#gw shut up, rpmlint:
touch %_datadir/gnome/help/conglomerate/C/conglomerate.html
yelp-pregenerate %{_datadir}/gnome/help/%{name}/C/%{name}.xml > /dev/null

%postun
%clean_menus
if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q; fi

%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/application-registry/*.applications
%{_datadir}/mime-info/*
%{_datadir}/omf/*
%{_datadir}/pixmaps/*
%{_menudir}/%{name}
%{_iconsdir}/%{name}.png
%{_liconsdir}/%{name}.png
%{_miconsdir}/%{name}.png
%ghost %{_datadir}/gnome/help/%{name}/C/%{name}.html
%config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas

%changelog
* Tue Mar 02 2004 Abel Cheung <deaddog@deaddog.org> 0.7.12-1mdk
- New version

* Mon Feb 16 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.11-1mdk
- remove gtk-doc stuff
- new version

* Tue Jan 13 2004 Buchan Milne <bgmilne@linux-mandrake.com> 0.7.10-1mdk
- 0.7.10

* Wed Jan  7 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7.8-2mdk
- fix buildrequires

* Tue Dec 23 2003 Arkadiusz Lipiec <arkadiusz.lipiec@gazeta.pl> 0.7.8-1mdk
- new version
- icon 32x32 is in pixmaps directory (no need to source2 tag)

* Fri Dec 12 2003 Abel Cheung <deaddog@deaddog.org> 0.7.7-1mdk
- new version
- Remove patch0 (upstream)

* Thu Oct 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.7.6-1mdk
- new version

* Wed Oct  8 2003 Götz Waschk <waschk@linux-mandrake.com> 0.7.5-1mdk
- fix rpmlint warning
- add gtk-doc docs
- fix changelog (Abel Cheung, can you please use ISO-8859-1 next time?)
- new version

* Mon Sep 29 2003 Abel Cheung <deaddog@deaddog.org> 0.7.4-1mdk
- 0.7.4
- Patch0: Fix path of faq XML file in document
- Convert this spec to UTF-8
- Fix doc pre-generation

* Tue Sep 23 2003 Götz Waschk <waschk@linux-mandrake.com> 0.7.3-1mdk
- new version

* Mon Sep 22 2003 Abel Cheung <deaddog@deaddog.org> 0.7.2-4mdk
- Generate help file cache
- Register help document with scrollkeeper

* Mon Sep 22 2003 Götz Waschk <waschk@linux-mandrake.com> 0.7.2-3mdk
- fix buildrequires

* Sat Sep 20 2003 Abel Cheung <deaddog@deaddog.org> 0.7.2-2mdk
- spec tweaks

* Fri Sep 19 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.7.2-1mdk
- update

* Mon Aug 11 2003 Abel Cheung <maddog@linux.org.hk> 0.5.4-1mdk
- First Mandrake spec