1 | Name: hp2xx |
---|
2 | License: GPL |
---|
3 | Group: Applications/Graphics |
---|
4 | URL: http://www.gnu.org/software/hp2xx/hp2xx.html |
---|
5 | Autoreqprov: on |
---|
6 | Version: 3.4.4 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | Summary: Converts HP-GL Plotter Language into a Variety of Formats |
---|
9 | Summary(ja): HPGL 形式のファイルを様々なフォーマットに変換するためのツール |
---|
10 | Source: hp2xx-%{version}.tar.gz |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildRequires: XOrg-devel, glibc |
---|
13 | BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, zlib-devel |
---|
14 | #Requires: bash2, XOrg-libs, glibc, libjpeg, libpng, libtiff, zlib |
---|
15 | Requires: bash, XOrg-libs, glibc, libjpeg, libpng, libtiff, zlib |
---|
16 | |
---|
17 | %description |
---|
18 | The hp2xx program is a versatile tool for converting vector-oriented |
---|
19 | graphics data given in Hewlett-Packard's HP-GL plotter language into a |
---|
20 | variety of popular graphics formats, both vector- and raster-oriented. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q |
---|
24 | |
---|
25 | %build |
---|
26 | make OPTFLAGS="$RPM_OPT_FLAGS" LFLAGS="-L/usr/X11R6/%{_lib}" |
---|
27 | |
---|
28 | %install |
---|
29 | rm -rf $RPM_BUILD_ROOT |
---|
30 | mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_infodir},%{_mandir}/man1} |
---|
31 | make bindir=$RPM_BUILD_ROOT%{_bindir} \ |
---|
32 | infodir=$RPM_BUILD_ROOT%{_infodir} \ |
---|
33 | mandir=$RPM_BUILD_ROOT%{_mandir} install |
---|
34 | |
---|
35 | %clean |
---|
36 | rm -rf $RPM_BUILD_ROOT |
---|
37 | |
---|
38 | %files |
---|
39 | %defattr(-,root,root) |
---|
40 | %{_bindir}/hp2xx |
---|
41 | %{_mandir}/man1/hp2xx.* |
---|
42 | %{_infodir}/hp2xx.* |
---|
43 | %doc AUTHORS CHANGES README TODO copying doc/readme doc/changes doc/hp_cmds.lst hp-tests |
---|
44 | |
---|
45 | %post |
---|
46 | |
---|
47 | %postun |
---|
48 | |
---|
49 | %changelog |
---|
50 | * Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 3.4.4-1 |
---|
51 | - applied new versioning policy, spec in utf-8 |
---|
52 | |
---|
53 | * Sun Dec 30 2007 Shu KONNO <owa@bg.wakwak.com> 3.4.4-0vl3 |
---|
54 | - updated bash2 to bash in script Requires: |
---|
55 | |
---|
56 | * Mon Jun 5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.4-0vl2 |
---|
57 | - added Japanese summary |
---|
58 | - changed Group to Applications/Graphics |
---|
59 | |
---|
60 | * Sun Apr 17 2005 Satoshi MACHINO <machino@vinelinux.org> 3.4.4-0vl1 |
---|
61 | - initial built for VineLinux |
---|
62 | |
---|