-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheps2png.spec
44 lines (35 loc) · 922 Bytes
/
eps2png.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- rpm-spec -*-
Name: eps2png
Version: 2.7
Release: 1
Source: %{name}-%{version}.tar.gz
BuildArch: noarch
URL: http://johan.vromans.org/software/sw_eps2png.html
BuildRoot: %{_tmppath}/rpm-buildroot-%{name}-%{version}-%{release}
Vendor: Squirrel Consultancy
Packager: Johan Vromans <[email protected]>
Summary: eps2png converts EPS to PNG, JPG and GIF.
License: Perl
Group: Applications/Graphics
%description
Converts files from EPS format (Encapsulated PostScript) to some
popular image formats.
%prep
%setup -q -n %{name}-%{version}
%build
%{__perl} Makefile.PL
make all
make test
%install
rm -rf $RPM_BUILD_ROOT
%{__mkdir} -p $RPM_BUILD_ROOT%{_bindir}
%{__install} -m 0775 script/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CHANGES README
%{_bindir}/%{name}
%changelog
* Tue Mar 27 2008 Johan Vromans <[email protected]>
- Initial version.