X-Git-Url: http://git.pld-linux.org/?p=packages%2Flibebml.git;a=blobdiff_plain;f=libebml.spec;h=62802043bd8b3d1ab23e2b23b15b0fb2a5386cb6;hp=3391ed501370c98c790ef2fa7e62dd1fefc4e1e5;hb=e7e79a1;hpb=ea0c7d8d4767187d137934f1b86201a1ba358af1 diff --git a/libebml.spec b/libebml.spec index 3391ed5..6280204 100644 --- a/libebml.spec +++ b/libebml.spec @@ -1,16 +1,15 @@ Summary: Extensible Binary Meta Language access library Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego Name: libebml -Version: 0.7.7 +Version: 1.3.1 Release: 3 License: LGPL v2.1+ Group: Libraries Source0: http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2 -# Source0-md5: 7c8456a50fd82c1c9755917d0182c49e -Patch0: %{name}-makefile.patch +# Source0-md5: 2d5a0e502fabedfded2a890c6b5513a5 URL: http://www.matroska.org/ BuildRequires: libstdc++-devel -BuildRequires: libtool +BuildRequires: rpmbuild(macros) >= 1.553 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -50,25 +49,17 @@ Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego. %prep %setup -q -%patch0 -p1 %build -%{__make} -C make/linux \ - prefix=%{_prefix} \ - libdir=%{_libdir} \ - CXX="%{__cxx}" \ - CXXFLAGS="%{rpmcxxflags}" \ - LD="%{__cxx}" \ - LDFLAGS="%{rpmldflags}"\ - DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" +%configure + +%{__make} %install rm -rf $RPM_BUILD_ROOT -%{__make} -C make/linux install \ - DESTDIR=$RPM_BUILD_ROOT \ - prefix=%{_prefix} \ - libdir=%{_libdir} +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT @@ -78,13 +69,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc ChangeLog %attr(755,root,root) %{_libdir}/libebml.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libebml.so.4 %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libebml.so %{_libdir}/libebml.la %{_includedir}/ebml +%{_pkgconfigdir}/libebml.pc %files static %defattr(644,root,root,755)