OBS User unknown 2007-08-09 23:06:25 +00:00 committed by Git OBS Bridge
parent bf2ebe4718
commit 13abcd6b3e
2 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Aug 9 19:21:24 CEST 2007 - maw@suse.de
- Fix the -lang subpackage.
-------------------------------------------------------------------
Tue Aug 7 20:38:01 CEST 2007 - mauro@suse.de
- Split out a -lang subpackage
-------------------------------------------------------------------
Fri Jul 27 19:50:50 CEST 2007 - maw@suse.de

View File

@ -23,7 +23,7 @@ Requires: ghostscript-fonts-std python-gtk python-numeric
Autoreqprov: on
Summary: A Diagram Creation Program
Version: 0.95
Release: 83
Release: 90
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.bz2
Source1: font-test-japanese.dia
Source2: font-test-czech.dia
@ -39,6 +39,9 @@ Patch14: dia-python2.5.patch
Patch15: fix-desktop-file.diff
URL: http://live.gnome.org/Dia
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 1020
Requires: %{name}-lang = %{version}
%endif
%description
Dia is designed to be much like the commercial program 'Visio.' It can
@ -60,6 +63,7 @@ Authors:
James Henstridge <james@daa.com.au>
Alexander Larsson <alla@lysator.liu.se>
%lang_package
%prep
%setup -q
gnome-patch-translation-prepare
@ -91,7 +95,7 @@ make docdir=%{_docdir}/%{name} %{?jobs:-j%jobs}
%install
%makeinstall docdir=%{_docdir}/%{name}
%suse_update_desktop_file -r -C "" -G "Diagram Editor" dia Office FlowChart GNOME
%find_lang dia
%find_lang %{name}
cp -a AUTHORS COPYING ChangeLog INSTALL KNOWN_BUGS NEWS README TODO samples/*.dia font-test*dia $RPM_BUILD_ROOT%{_docdir}/%{name}/
# No need for mime-info-to-mime, application/x-dia-diagram is defined in freedesktop.org.xml
rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info
@ -103,7 +107,7 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info
%clean
rm -rf $RPM_BUILD_ROOT
%files -f dia.lang
%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}
%{_bindir}/*
@ -113,7 +117,13 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pixmaps/*
%doc %{_mandir}/man1/*.*
%files lang -f %{name}.lang
%changelog
* Thu Aug 09 2007 - maw@suse.de
- Fix the -lang subpackage.
* Tue Aug 07 2007 - mauro@suse.de
- Split out a -lang subpackage
* Fri Jul 27 2007 - maw@suse.de
- Add %%fdupes stuff
* Mon Jan 22 2007 - sbrabec@suse.cz