]> git.pld-linux.org Git - packages/jhead.git/commitdiff
- fixed build
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 3 Oct 2002 13:47:05 +0000 (13:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    jhead.spec -> 1.3

jhead.spec

index ada90fb90c77b2f0bda9c1b601182865bb58f944..88f7b3523e0bfa6253e4463020f76ec488b6b2f9 100644 (file)
@@ -1,18 +1,13 @@
-%define name           jhead
-%define version                1.8
-%define release                1
-
-Name:          %{name}
-Version:       %{version}
-Release:       %{release}
-Summary:       Extracts the EXIF data from image files.
-Summary(pl):    Wyci±ga dane EXIF z plików graficznych
-Source0:       http://www.sentex.net/~mwandel/jhead/%{name}-%{version}.tar.gz
-URL:           http://www.sentex.net/~mwandel/jhead/
+Summary:       Extracts the EXIF data from image files
+Summary(pl):   Narzêdzie wyci±gaj±ce dane EXIF z plików graficznych
+Name:          jhead
+Version:       1.8
+Release:       1
 License:       GPL
 Group:         Applications/Graphics
+Source0:       http://www.sentex.net/~mwandel/jhead/%{name}-%{version}.tar.gz
+URL:           http://www.sentex.net/~mwandel/jhead/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Requires:      ImageMagick
 
 %description
 Jhead extracts the EXIF data from image files which are usually
@@ -20,40 +15,30 @@ associated with Digital Cameras. Also provides makehtml. The latest
 info and versions can be found at
 http://www.sentex.net/~mwandel/jhead/.
 
-%description(pl)
-Jhead pozwala wyci±gn±æ dane EXIF ze zdjêæ zrobionych aparatami cyfrowymi.
-Zawiera tak¿e makehtml. Ostatnia wersjê i najnowsze info mo¿na znale¶æ na
-stronie http://www.sentex.net/~mwandel/jhead/
+%description -l pl
+Jhead pozwala wyci±gn±æ dane EXIF ze zdjêæ zrobionych aparatami
+cyfrowymi. Zawiera tak¿e makehtml. Ostatnia wersjê i najnowsze
+informacje mo¿na znale¶æ na stronie
+http://www.sentex.net/~mwandel/jhead/.
 
 %prep
 %setup -q -n %{name}-%{version}
 
 %build
-
-make
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=%{buildroot}
-
 install -d $RPM_BUILD_ROOT%{_bindir}
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
-install ./jhead $RPM_BUILD_ROOT%{_bindir}
-install ./makehtml $RPM_BUILD_ROOT%{_bindir}
-# install player man page
-install -d -m 755 %{buildroot}%{_mandir}/man1
-install docs/jhead.1 %{buildroot}%{_mandir}/man1
-install docs/makehtml.1 %{buildroot}%{_mandir}/man1
 
-%postun
+install jhead $RPM_BUILD_ROOT%{_bindir}
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING README README.makehtml Usage.html
+%doc changes.txt usage.html
 %attr(755,root,root) %{_bindir}/jhead
-%attr(755,root,root) %{_bindir}/makehtml
-%{_mandir}/man1/jhead.1.gz
-%{_mandir}/man1/makehtml.1.gz
This page took 0.05373 seconds and 4 git commands to generate.