Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df6ce7c1ff | ||
|
|
1919e5b0c5 | ||
|
|
f20eaa7a26 | ||
| 7d5cf2a550 |
6 changed files with 7002 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
wxsvg-1.0b7_3.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
ff34383d35221259312dc49127140c05 wxsvg-1.0b7_3.tar.gz
|
||||
91
wxsvg.spec
Normal file
91
wxsvg.spec
Normal 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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue