]> git.pld-linux.org Git - packages/ffcall.git/blobdiff - ffcall.spec
- updated to 2.4
[packages/ffcall.git] / ffcall.spec
index 21181fba160889f8535250a25e5ca680f33bed29..204c9ec4d537c01ecbbc4865f23f4db70ab42f78 100644 (file)
@@ -1,20 +1,14 @@
-%define                snap    20090629
-
 Summary:       Libraries for building foreign function call interfaces
 Summary(pl.UTF-8):     Biblioteki do tworzenia interfejsów wywołań obcych funkcji
 Name:          ffcall
-Version:       1.11
-Release:       0.%{snap}.1
+Version:       2.4
+Release:       1
 Epoch:         1
-License:       GPL
+License:       GPL v2+
 Group:         Libraries
-# cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co .
-Source0:       %{name}-%{snap}.tar.bz2
-# Source0-md5: a5190885da8e701a012bb282bfb3c51b
+Source0:       https://ftp.gnu.org/gnu/libffcall/libffcall-%{version}.tar.gz
+# Source0-md5: e7ef6e7cab40f6e224a89cc8dec6fc15
 Patch0:                %{name}-make-jN.patch
-Patch1:                %{name}-sparcv9.patch
-# https://savannah.gnu.org/bugs/index.php?22081
-Patch2:                %{name}-sparc64.patch
 URL:           http://savannah.gnu.org/projects/libffcall
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -77,10 +71,8 @@ Static versions of avcall and callback libraries.
 Statyczne wersje bibliotek avcall i callback.
 
 %prep
-%setup -q -n %{name}-%{snap}
+%setup -q -n libffcall-%{version}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p0
 
 %build
 %configure \
@@ -90,36 +82,59 @@ Statyczne wersje bibliotek avcall i callback.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# for dependency generator and debuginfo extraction to work
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib*.so*
+
 # don't need those since we have man pages
 %{__rm} $RPM_BUILD_ROOT%{_datadir}/html/*.html
 
 %clean
-rm -fr $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc NEWS README
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%doc ChangeLog NEWS PLATFORMS README
+%attr(755,root,root) %{_libdir}/libavcall.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libavcall.so.1
+%attr(755,root,root) %{_libdir}/libcallback.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcallback.so.1
+%attr(755,root,root) %{_libdir}/libffcall.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libffcall.so.0
+%attr(755,root,root) %{_libdir}/libtrampoline.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libtrampoline.so.1
 
 %files devel
 %defattr(644,root,root,755)
 %doc */*.html
-%attr(755,root,root) %{_libdir}/lib*.so*
-%{_libdir}/lib*.la
-%{_libdir}/libtrampoline.a
+%attr(755,root,root) %{_libdir}/libavcall.so
+%attr(755,root,root) %{_libdir}/libcallback.so
+%attr(755,root,root) %{_libdir}/libffcall.so
+%attr(755,root,root) %{_libdir}/libtrampoline.so
+%{_libdir}/libavcall.la
+%{_libdir}/libcallback.la
+%{_libdir}/libffcall.la
+%{_libdir}/libtrampoline.la
 %{_libdir}/libvacall.a
-%{_includedir}/*
-%{_mandir}/man?/*
+%{_includedir}/avcall.h
+%{_includedir}/callback.h
+%{_includedir}/ffcall-*.h
+%{_includedir}/trampoline*.h
+%{_includedir}/vacall*.h
+%{_mandir}/man3/avcall.3*
+%{_mandir}/man3/callback.3*
+%{_mandir}/man3/trampoline*.3*
+%{_mandir}/man3/vacall.3*
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libavcall.a
 %{_libdir}/libcallback.a
+%{_libdir}/libffcall.a
+%{_libdir}/libtrampoline.a
This page took 0.085789 seconds and 4 git commands to generate.