Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
4dc750e14d | ||
|
a77b2ad3c0 | ||
|
4a254af052 | ||
|
c11b128ea5 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
pdf2svg-0.2.1.tar.gz
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
||||
# Makefile for source rpm: pdf2svg
|
||||
# $Id$
|
||||
NAME := pdf2svg
|
||||
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)
|
48
pdf2svg.spec
Normal file
48
pdf2svg.spec
Normal file
@ -0,0 +1,48 @@
|
||||
Name: pdf2svg
|
||||
Version: 0.2.1
|
||||
Release: 2%{?dist}
|
||||
Summary: Small tool to convert PDF files into SVG
|
||||
|
||||
Group: Applications/File
|
||||
License: GPLv2+
|
||||
URL: http://www.cityinthesky.co.uk/pdf2svg.html
|
||||
Source0: http://www.cityinthesky.co.uk/files/pdf2svg-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: poppler-glib-devel
|
||||
BuildRequires: cairo-devel
|
||||
|
||||
%description
|
||||
A small tool to convert PDF files into SVG using poppler and cairo.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install INSTALL="install -p" DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING AUTHORS ChangeLog
|
||||
%{_bindir}/pdf2svg
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 4 2009 Ben Boeckel <MathStuf@gmail.com> 0.2.1-2
|
||||
- Fix things for review
|
||||
|
||||
* Wed Sep 30 2009 Ben Boeckel <MathStuf@gmail.com> 0.2.1-1
|
||||
- Initial package
|
Loading…
Reference in New Issue
Block a user