]> git.pld-linux.org Git - packages/conglomerate.git/blobdiff - conglomerate.spec
- pl fixes, cosmetics
[packages/conglomerate.git] / conglomerate.spec
index 5d06437f450785d8c61f233fa06f61dfb294460f..50d46656217736ce18ad54529876ca75820db5d7 100644 (file)
@@ -1,15 +1,29 @@
 Summary:       Free user-friendly XML editor
+Summary(pl):   Wolnodostêpny, przyjazny dla u¿ytkownika edytor XML-a
 Name:          conglomerate
-Version:       0.5.1
+Version:       0.7.12
 Release:       1
 License:       GPL
 Group:         X11/Applications
-Source0:       http://dl.sf.net//conglomerate/%{name}-%{version}.tar.gz
-# Source0-md5: ad0d44832c72de13bda376aac3e4c3dc
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: 8743f9d8f079fc22f6aef70efd838aac
+Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-locale-names.patch
+URL:           http://www.conglomerate.org/
+BuildRequires: GConf2-devel >= 2.4.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gtk+2-devel
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: gtk+2-devel >= 2.2.0
+BuildRequires: gtk-doc
+BuildRequires: gtksourceview-devel >= 0.6
+BuildRequires: intltool >= 0.28
+BuildRequires: libglade2-devel >= 2.0.1
+BuildRequires: libgnomeprintui-devel >= 2.4.0
+BuildRequires: libgnomeui-devel >= 2.4.0
+BuildRequires: libxslt-devel >= 1.0.0
+Requires(post):        GConf2
+Requires(post):        scrollkeeper
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Conglomerate is a free user-friendly XML editor. It attempts to hide
@@ -18,26 +32,62 @@ format, but so far we have been concentrating on DocBook support. A
 goal of the project is to create a free DocBook editor that Word users
 can easily learn.
 
+%description -l pl
+Conglomerate to wolnodostêpny, przyjazny dla u¿ytkownika edytor XML-a.
+Próbuje ukryæ mordercze szczegó³y XML-a przed koñcowym u¿ytkownikiem.
+Potrafi obs³u¿yæ ka¿dy format pliku XML, ale jak na razie jego rozwój
+jest skoncentrowany na obs³udze dla DocBooka. Celem projektu jest
+stworzenie wolnodostêpnego edytora DocBooka, ³atwego do nauczenia dla
+u¿ytkowników Worda.
+
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+
+mv po/{no,nb}.po
 
 %build
-%configure
+glib-gettextize --copy --force
+intltoolize --copy --force
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure \
+       --enable-gtk-doc \
+       --disable-schemas-install \
+       --with-html-dir=%{_gtkdocdir} \
+       --enable-printing
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-%find_lang %{name}
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+%postun -p /usr/bin/scrollkeeper-update
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%attr (755,root,root) %{_bindir}/conge
-%{_datadir}/conge
-%{_desktopdir}/conge.desktop
+%attr (755,root,root) %{_bindir}/*
+%{_sysconfdir}/gconf/schemas/*
+%{_datadir}/%{name}
+%{_desktopdir}/*
+%{_pixmapsdir}/*.png
+%{_omf_dest_dir}/*
+##%{_gtkdocdir}/%{name}
+%{_datadir}/application-registry/*
+%{_datadir}/mime-info/*
This page took 0.051015 seconds and 4 git commands to generate.