jhead/jhead.spec

changeset 750
0e7016e69724
parent 387
33ae2d61c751
equal deleted inserted replaced
2:47698ee31395 3:513bf6aa9f62
1 ## 1 ##
2 ## jhead.spec -- OpenPKG RPM Specification 2 ## jhead.spec -- OpenPKG RPM Specification
3 ## Copyright (c) 2009 Michael Schloh von Bennewitz <michael@schloh.com> 3 ## Copyright (c) 2012 Michael Schloh von Bennewitz <michael@schloh.com>
4 ## 4 ##
5 ## Permission to use, copy, modify, and distribute this software for 5 ## Permission to use, copy, modify, and distribute this software for
6 ## any purpose with or without fee is hereby granted, provided that 6 ## any purpose with or without fee is hereby granted, provided that
7 ## the above copyright notice and this permission notice appear in all 7 ## the above copyright notice and this permission notice appear in all
8 ## copies. 8 ## copies.
30 Packager: Michael Schloh von Bennewitz 30 Packager: Michael Schloh von Bennewitz
31 Distribution: Europalab Networks Production 31 Distribution: Europalab Networks Production
32 Class: EVAL 32 Class: EVAL
33 Group: Graphics 33 Group: Graphics
34 License: Public Domain 34 License: Public Domain
35 Version: 2.84 35 Version: 2.96
36 Release: 20090106 36 Release: 20120800
37 37
38 # list of sources 38 # list of sources
39 Source0: http://www.sentex.net/~mwandel/jhead/jhead-%{version}.tar.gz 39 Source0: http://www.sentex.net/~mwandel/jhead/jhead-%{version}.tar.gz
40 40
41 # build information 41 # build information
42 Prefix: %{l_prefix} 42 BuildPreReq: OpenPKG, openpkg >= 20100101, make
43 BuildRoot: %{l_buildroot} 43 PreReq: OpenPKG, openpkg >= 20100101
44 BuildPreReq: OpenPKG, openpkg >= 20040130, make
45 PreReq: OpenPKG, openpkg >= 20040130
46 AutoReq: no
47 AutoReqProv: no
48 44
49 %description 45 %description
50 Jhead is a command line driven program for manipulating the 46 Jhead is a command line driven program for manipulating the
51 non-image parts of Exif flavour JPEG files that most digital 47 non-image parts of Exif flavour JPEG files that most digital
52 cameras produce. 48 cameras produce.
65 %build 61 %build
66 # build program 62 # build program
67 %{l_make} %{l_mflags -O} 63 %{l_make} %{l_mflags -O}
68 64
69 %install 65 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 # create directory structure 66 # create directory structure
73 %{l_shtool} mkdir -f -p -m 755 \ 67 %{l_shtool} mkdir -f -p -m 755 \
74 $RPM_BUILD_ROOT%{l_prefix}/bin 68 $RPM_BUILD_ROOT%{l_prefix}/bin
75 69
76 # install program binary 70 # install program binary
81 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 75 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
82 76
83 %files -f files 77 %files -f files
84 78
85 %clean 79 %clean
86 rm -rf $RPM_BUILD_ROOT
87 80

mercurial