Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
73ec52e448 dist-git conversion 2010-07-29 15:29:41 +00:00
Bill Nottingham
014e83993d Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:19:47 +00:00
Matthias Saou
1c2b304721 Initial import. 2007-06-08 12:36:32 +00:00
d782ea1261 Initialize branch FC-6 for wxsvg 2007-06-07 20:11:21 +00:00
6 changed files with 7002 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
wxsvg-1.0b7_3.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: wxsvg
# $Id$
NAME := wxsvg
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

6909
ltmain.sh Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1 @@
ff34383d35221259312dc49127140c05 wxsvg-1.0b7_3.tar.gz

91
wxsvg.spec Normal file
View file

@ -0,0 +1,91 @@
%define prever b7_3
Summary: C++ library to create, manipulate and render SVG files
Name: wxsvg
Version: 1.0
Release: 0.3.%{prever}%{?dist}
License: wxWidgets Library Licence
Group: System Environment/Libraries
URL: http://wxsvg.sourceforge.net/
Source0: http://downloads.sf.net/wxsvg/wxsvg-%{version}%{prever}.tar.gz
Source1: ltmain.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libart_lgpl-devel
BuildRequires: pkgconfig
BuildRequires: pango-devel
BuildRequires: freetype-devel
BuildRequires: wxGTK-devel
# In 1.0b7_3 ltmain.sh is missing... so are Makefile.in files :-(
BuildRequires: libtool, automake, autoconf
%description
wxSVG is C++ library to create, manipulate and render SVG files.
%package devel
Summary: Development files for the wxSVG library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: wxGTK-devel
%description devel
wxSVG is C++ library to create, manipulate and render SVG files.
%prep
%setup -q -n %{name}-%{version}%{prever}
%{__install} -m 0755 -p %{SOURCE1} ltmain.sh
./autogen.sh
%build
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
%clean
%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING TODO
%{_bindir}/svgview
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/wxSVG/
%{_includedir}/wxXML/
%exclude %{_libdir}/*.la
%{_libdir}/*.so
%changelog
* Wed Jun 6 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.3.b7_3
- Update to 1.0b7_3.
- Pass -p to install.
- Remove no longer needed freetype patch, but...
- ...include our own ltmain.sh because it's missing...
- ...run ./autogen.sh since Makefile.in files are missing too.
* Wed May 9 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.2.b7
- Remove rpath on 64bit.
- Update sf.net download URL.
- Add missing wxGTK-devel requirement to the devel package.
* Fri Jan 19 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.1.b7
- Initial RPM release.