OBS User unknown 2007-01-23 00:18:58 +00:00 committed by Git OBS Bridge
parent fdb77e7943
commit b3d4eb3466
2 changed files with 47 additions and 44 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 22 18:01:04 CET 2007 - sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 4 12:46:30 CET 2007 - prusnak@suse.cz Thu Jan 4 12:46:30 CET 2007 - prusnak@suse.cz

View File

@ -11,15 +11,14 @@
# norootforbuild # norootforbuild
Name: inkscape Name: inkscape
BuildRequires: cairomm docbook-toys gcc-c++ gtkmm24-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel liblcms-devel libwnck-devel libxslt-devel loudmouth-devel mDNSResponder-devel perl-XML-Parser python-devel python-gtk-devel sgml-skel update-desktop-files BuildRequires: cairomm docbook-toys gcc-c++ gtkmm24-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel liblcms-devel libwnck-devel libxslt-devel loudmouth-devel python-devel python-gtk-devel sgml-skel update-desktop-files
%define prefix /opt/gnome
License: GNU General Public License (GPL) License: GNU General Public License (GPL)
Group: Productivity/Graphics/Vector Editors Group: Productivity/Graphics/Vector Editors
Requires: cairomm ghostscript-fonts-std python-gtk python-numeric pstoedit libwmf gzip skencil /usr/bin/gs Requires: cairomm ghostscript-fonts-std python-gtk python-numeric pstoedit libwmf gzip skencil /usr/bin/gs
Autoreqprov: on Autoreqprov: on
Summary: Inkscape Vector Illustration Program Summary: Inkscape Vector Illustration Program
Version: 0.44.1 Version: 0.44.1
Release: 35 Release: 39
Provides: sodipodi Provides: sodipodi
Obsoletes: sodipodi Obsoletes: sodipodi
PreReq: /bin/rm /bin/ln /bin/sh /usr/bin/perl PreReq: /bin/rm /bin/ln /bin/sh /usr/bin/perl
@ -87,7 +86,7 @@ Authors:
Masatake Yamato Masatake Yamato
%prep %prep
%setup -b 1 %setup -q -b 1
%patch %patch
%patch4 %patch4
%patch6 %patch6
@ -108,43 +107,40 @@ EOF
chmod -x README.ca.txt chmod -x README.ca.txt
%build %build
export CFLAGS="$RPM_OPT_FLAGS"
pushd ../gc* pushd ../gc*
autoreconf --force --install autoreconf -f -i
export CFLAGS="$CFLAGS -fPIC -fno-strict-aliasing" export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS" %configure\
./configure --prefix=/usr --disable-shared --libdir=%{_prefix}/lib\
make --disable-shared
make %{?jobs:-j%jobs}
make install DESTDIR=$RPM_BUILD_DIR/gc_install make install DESTDIR=$RPM_BUILD_DIR/gc_install
unset CFLAGS
popd popd
aclocal autoreconf -f -i
automake export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
autoconf %configure\
./configure --prefix=%prefix \ --enable-db2html\
--mandir=%_mandir \ --enable-gnome\
--libdir=%prefix/%_lib \ --with-python\
--datadir=%prefix/share \ --with-perl\
--enable-db2html \ --with-gnome-print\
--enable-gnome \ --enable-inkboard\
--with-python \ --with-gc=$RPM_BUILD_DIR/gc_install/usr
--with-perl \
--with-gnome-print \
--enable-inkboard \
--with-gc=$RPM_BUILD_DIR/gc_install/usr
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
%install %install
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -N "Inkscape" -G "SVG Vector Illustrator" inkscape Office FlowChart %suse_update_desktop_file -N "Inkscape" -G "SVG Vector Illustrator" inkscape Office FlowChart
%find_lang %{name} %find_lang %{name}
mkdir -p $RPM_BUILD_ROOT/opt/gnome/share/inkscape/extensions-optional mkdir -p $RPM_BUILD_ROOT%{_datadir}/inkscape/extensions-optional
cp $RPM_BUILD_ROOT/opt/gnome/share/inkscape/extensions/dia.inx $RPM_BUILD_ROOT/opt/gnome/share/inkscape/extensions-optional cp $RPM_BUILD_ROOT%{_datadir}/inkscape/extensions/dia.inx $RPM_BUILD_ROOT%{_datadir}/inkscape/extensions-optional
%triggerin -- dia %triggerin -- dia
ln -f opt/gnome/share/inkscape/extensions-optional/dia.inx opt/gnome/share/inkscape/extensions/dia.inx ln -f opt/gnome/share/inkscape/extensions-optional/dia.inx opt/gnome/share/inkscape/extensions/dia.inx
%triggerpostun -- dia %triggerpostun -- dia
if [ ! -x /opt/gnome/bin/dia ] ; then if [ ! -x %{_bindir}/dia ] ; then
rm opt/gnome/share/inkscape/extensions/dia.inx rm opt/gnome/share/inkscape/extensions/dia.inx
fi fi
@ -154,25 +150,26 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog HACKING* INSTALL NEWS README* TRANSLATORS %doc AUTHORS COPYING COPYING.LIB ChangeLog HACKING* INSTALL NEWS README* TRANSLATORS
/opt/gnome/bin/* %{_bindir}/*
/opt/gnome/share/applications/inkscape.desktop %{_datadir}/applications/inkscape.desktop
%doc /usr/share/man/man?/*.* %dir %{_datadir}/inkscape
%doc /usr/share/man/??/man?/*.* %{_datadir}/inkscape/[a-df-z]*
%dir /opt/gnome/share/inkscape %{_datadir}/inkscape/exa*
/opt/gnome/share/inkscape/[a-df-z]* %{_datadir}/inkscape/extensions-optional
/opt/gnome/share/inkscape/exa* %dir %{_datadir}/inkscape/extensions
/opt/gnome/share/inkscape/extensions-optional %{_datadir}/inkscape/extensions/[a-ce-zA-Z]*
%dir /opt/gnome/share/inkscape/extensions %{_datadir}/inkscape/extensions/dia2*
/opt/gnome/share/inkscape/extensions/[a-ce-zA-Z]* %{_datadir}/inkscape/extensions/dots*
/opt/gnome/share/inkscape/extensions/dia2* %{_datadir}/inkscape/extensions/dx*
/opt/gnome/share/inkscape/extensions/dots* %ghost %{_datadir}/inkscape/extensions/dia.inx
#/opt/gnome/share/inkscape/extensions/dr* %{_datadir}/pixmaps/inkscape.png
/opt/gnome/share/inkscape/extensions/dx* %doc %{_mandir}/man?/*.*
%ghost /opt/gnome/share/inkscape/extensions/dia.inx %doc %{_mandir}/??/man?/*.*
/opt/gnome/share/pixmaps/inkscape.png
%dir /usr/share/man/fr/man1
%changelog -n inkscape %changelog -n inkscape
* Mon Jan 22 2007 - sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Thu Jan 04 2007 - prusnak@suse.cz * Thu Jan 04 2007 - prusnak@suse.cz
- fixed illegal comparison (siox-max.patch) [#231224] - fixed illegal comparison (siox-max.patch) [#231224]
* Mon Nov 06 2006 - jhargadon@suse.de * Mon Nov 06 2006 - jhargadon@suse.de