]> git.pld-linux.org Git - packages/bchunk.git/blobdiff - bchunk.spec
up to 1.2.2
[packages/bchunk.git] / bchunk.spec
index 9b43679201f0f771eb2c171fc7d14c3a55407257..28aed91c7ebbbde6afe631eb332e74ea80926f04 100644 (file)
@@ -1,13 +1,14 @@
 Summary:       A CD image format converter from .bin/.cue to .iso/.cdr
 Summary(pl.UTF-8):     Konwerter obrazów płyt CD z .bin/.cue do .iso/.cdr
 Name:          bchunk
-Version:       1.2.0
-Release:       0.1
+Version:       1.2.2
+Release:       1
 License:       GPL
 Group:         Applications/Archiving
-Source0:       http://hes.iki.fi/bchunk/%{name}-%{version}.tar.gz
-# Source0-md5: 6a613da3f34f9a303f202d2e9731d231
-URL:           http://hes.iki.fi/bchunk/
+Source0:       http://he.fi/bchunk/%{name}-%{version}.tar.gz
+# Source0-md5: 0eeb764647824062085872ddb0b28c5a
+Patch0:                install.patch
+URL:           http://he.fi/bchunk/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,15 +26,21 @@ obsługiwany przez większość uniksowych programów do wypalania.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__cc} %{rpmcflags} %{name}.c -o %{name}
+%{__make} \
+       CC="%{__cc}" \
+        LD="%{__cc}" \
+        CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
 
-install bchunk $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       BIN_DIR=%{_bindir} \
+       MAN_DIR=%{_mandir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -42,3 +49,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog README
 %attr(755,root,root) %{_bindir}/bchunk
+%{_mandir}/man1/bchunk.1*
This page took 0.029532 seconds and 4 git commands to generate.