]> git.pld-linux.org Git - packages/dia.git/blobdiff - dia.spec
- BR: libtool
[packages/dia.git] / dia.spec
index ae34754b3185f614f6009ca81167d18702a420e0..c9f787d24973da224cacab032f89c14f901253b0 100644 (file)
--- a/dia.spec
+++ b/dia.spec
+
+#%%define      snap    20030908.0723
+#%define       pre             pre5
+
 Summary:       Dia - a gtk+ based diagram creation program
-Summary(pl):   Dia - program do tworzenie diagramów
+Summary(es):   Programa para dibujo de diagramas
+Summary(pl):   Dia - program do tworzenia diagramów
+Summary(pt_BR):        Programa para desenho de diagramas
+Summary(ru):   ðÒÏÇÒÁÍÍÁ ÄÌÑ ÒÉÓÏ×ÁÎÉÑ ÄÉÁÇÒÁÍÍ
+Summary(uk):   ðÒÏÇÒÁÍÁ ÄÌÑ ÍÁÌÀ×ÁÎÎѠĦÁÇÒÁÍ
+Summary(zh_CN):        »ùÓÚgtk+µÄÁ÷³Ìͼ³ÌÐò
 Name:          dia
-Version:       0.84
-Release:       1
+Version:       0.92.2
+Release:       2
+Epoch:         1
 License:       GPL
 Group:         X11/Applications/Graphics
-Group(pl):     X11/Aplikacje/Grafika
 Vendor:                James Henstridge <james@daa.com.au>
-Source:                ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.gz
-Patch:         dia-applnkdir.patch
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/dia/0.92/%{name}-%{version}.tar.bz2
+# Source0-md5: 2c14d023bd905e65368ee3df3248dc2a
+## this only for snapshots
+##Source0:     http://www.crans.org/~chepelov/dia/snapshots/%{name}-CVS-%(echo %{snap} | tr . -).tar.gz
+## this for pre releases
+##Source0:     http://ftp.gnome.org/pub/GNOME/sources/dia/%{version}/%{name}-%{version}-%{pre}.tar.bz2
+#Patch0:               dia-state.patch
+Patch1:                dia-am.patch
 URL:           http://www.lysator.liu.se/~alla/dia/dia.html
-BuildRequires: gtk+-devel >= 1.2.0
-BuildRequires: XFree86-devel
-BuildRequires: libxml-devel
-BuildRequires: zlib-devel
-BuildRequires: imlib-devel
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: gettext-devel
-Requires:      gtk+ >= 1.2.0
+BuildRequires: intltool
+BuildRequires: libgnomeui-devel
+BuildRequires: libtool
+BuildRequires: libxslt-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-
 %description
-Dia is a program designed to be much like the Windows program 'Visio'. It 
-can be used to draw different kind of diagrams. In this first version there 
-is support for UML static structure diagrams (class diagrams) and Network 
-diagrams. It can currently load and save diagrams to a custom fileformat 
-and export to postscript.   
+Dia is a program designed to be much like the Windows program 'Visio'.
+It can be used to draw different kind of diagrams. In this first
+version there is support for UML static structure diagrams (class
+diagrams) and Network diagrams. It can currently load and save
+diagrams to a custom fileformat and export to postscript.
+
+%description -l es
+Programa proyectado para que fuera semejante al Visio. Puede usarse
+para realizar diagramas de diferentes tipos e incluye soporte para
+diagramas de estructuras UML estáticas (diagramas de clase), modelos
+de entidades y relacionamiento y diagramas de red. El programa Dia usa
+un formato propio de archivo y también puede usar el formato .xml, así
+como también puede exportar para PostScript(TM).
 
 %description -l pl
-Dia jest programem zaprojektowanym tak by byæ podobnym do programu 'Visio' 
-znanego z Windows. Dia mo¿e byæ u¿ywany do rysowania ró¿nego rodzaju 
-diagramów. W tej wersji znajduje siê wsparcie dla diagramów o statycznej 
-strukturze UML (diagramy klasowe) i dla diagramów sieciowych. Aktualnie 
-mo¿e on ³adowaæ i zapisywaæ diagramy we w³asnym formacie oraz eksportowaæ 
-je do postscriptu.   
+Dia jest programem zaprojektowanym tak by byæ podobnym do programu
+'Visio' znanego z Windows. Dia mo¿e byæ u¿ywany do rysowania ró¿nego
+rodzaju diagramów. W tej wersji znajduje siê wsparcie dla diagramów o
+statycznej strukturze UML (diagramy klasowe) i dla diagramów
+sieciowych. Aktualnie mo¿e on ³adowaæ i zapisywaæ diagramy we w³asnym
+formacie oraz eksportowaæ je do postscriptu.
+
+%description -l pt_BR
+Programa projetado para ser semelhante ao Visio. Pode ser usado para
+desenhar diferentes tipos de diagramas e inclui suporte a diagramas de
+estruturas UML estáticas (diagramas de classe), modelo de entidades e
+relacionamento e diagramas de rede. O Dia usa um formato próprio de
+arquivo e pode também usar o formato .xml, bem como exportar para
+PostScript(TM).
+
+%description -l ru
+ðÒÏÇÒÁÍÍÁ Dia ÒÁÚÒÁÂÏÔÁÎÁ ËÁË ÁÌØÔÅÒÎÁÔÉ×Á Visio ÄÌÑ Windows(TM). Dia
+ÍÏÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ ÄÌÑ ÒÉÓÏ×ÁÎÉÑ ÒÁÚÌÉÞÎÙÈ ÔÉÐÏ× ÄÉÁÇÒÁÍÍ, ÏÎÁ
+×ËÌÀÞÁÅÔ ÐÏÄÄÅÒÖËÕ ÓÔÒÕËÔÕÒÎÙÈ ÓÔÁÔÉÞÅÓËÉÈ ÄÉÁÇÒÁÍÍ UML (ÄÉÁÇÒÁÍÍ
+ËÌÁÓÓÏ×), ÍÏÄÅÌÉÒÏ×ÁÎÉÅ ÏÔÎÏÛÅÎÉÊ ÏÂßÅËÔÏ× É ÓÅÔÅ×ÙÈ ÄÉÁÇÒÁÍÍ. Dia
+ÍÏÖÅÔ ÚÁÇÒÕÖÁÔØ É ÓÏÈÒÁÎÑÔØ ÄÉÁÇÒÁÍÍÙ × ÓÏÂÓÔ×ÅÎÎÏÍ ÆÏÒÍÁÔÅ É ×
+ÆÏÒÍÁÔÅ .xml Á ÔÁËÖÅ ÜËÓÐÏÒÔÉÒÏ×ÁÔØ ÉÈ × PostScript(TM).
+
+%description -l uk
+ðÒÏÇÒÁÍÁ Dia ÒÏÚÒÏÂÌÅÎÁ ÑË ÁÌØÔÅÒÎÁÔÉ×Á Visio ÄÌÑ Windows(TM). Dia
+ÍÏÖÎÁ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÄÌÑ ÍÁÌÀ×ÁÎÎÑ Ò¦ÚÎÏÍÁΦÔÎÉÈ ÔÉЦנĦÁÇÒÁÍ, ×ÏÎÁ
+×ËÌÀÞÁ¤ Ð¦ÄÔÒÉÍËÕ ÓÔÒÕËÔÕÒÎÉÈ ÓÔÁÔÉÞÎÉȠĦÁÇÒÁÍ UML (ĦÁÇÒÁÍ ËÌÁÓ¦×),
+ÍÏÄÅÌÀ×ÁÎÎѠצÄÎÏÛÅÎØ ÏÂ'¤ËԦנÔÁ ÍÅÒÅÖÅ×ÉȠĦÁÇÒÁÍ. Dia ÍÏÖÅ
+ÚÁ×ÁÎÔÁÖÕ×ÁÔÉ ÔÁ ÚÂÅÒ¦ÇÁÔÉ ÄÉÁÇÒÁÍÉ Õ ×ÌÁÓÎÏÍÕ ÆÏÒÍÁÔ¦ ÔÁ ÆÏÒÍÁÔ¦ .xml
+Á ÔÁËÏÖ ÅËÓÐÏÒÔÕ×ÁÔÉ §È × PostScript(TM).
 
 %prep
 %setup -q
-%patch -p1
+#%setup -q -n %{name}-%{version}-%{pre}
+#%patch0 -p1
+%patch1 -p1
 
 %build
-automake
-gettextize --copy --force
-LDFLAGS="-s"; export LDFLAGS
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
 %configure
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
-
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/dia/lib*.so
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Applicationsdir=%{_desktopdir}
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
-
-%find_lang %{name}
-
-gzip -9nf AUTHORS NEWS README TODO
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
-%{_applnkdir}/Graphics/dia.desktop
-%attr(755,root,root) %{_bindir}/dia
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_bindir}/*
+
 %dir %{_libdir}/dia
 %attr(755,root,root) %{_libdir}/dia/lib*.so
-%attr(755,root,root) %{_libdir}/dia/lib*.la
-%{_datadir}/dia
-%{_datadir}/pixmaps/*
+%{_libdir}/dia/lib*.la
+
 %{_mandir}/man1/*
+
+%{_datadir}/dia
+%{_datadir}/mime-info/*
+%{_desktopdir}/dia.desktop
+%{_pixmapsdir}/*
This page took 0.080053 seconds and 4 git commands to generate.