X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=libmatroska.spec;h=2f693159dd1b9dd06c00d26428953f19c916663d;hb=d25a61e4ddbcc1e9e8e04634246c837bd357cac6;hp=f905da33f72cba55cc28db3f889843c5c4ccb869;hpb=abb6ed5dc9949d15abf94ac447f221b4deac3978;p=packages%2Flibmatroska.git diff --git a/libmatroska.spec b/libmatroska.spec index f905da3..2f69315 100644 --- a/libmatroska.spec +++ b/libmatroska.spec @@ -1,17 +1,20 @@ Summary: Extensible Binary Meta Language access library -Summary(pl): Biblioteka dostêpu rozszerzalnego metajêzyka binarnego +Summary(pl.UTF-8): Biblioteka dostępu rozszerzalnego metajęzyka binarnego Name: libmatroska -Version: 0.5.2 +Version: 1.3.0 Release: 1 -License: GPL v2 or QPL +License: LGPL v2.1+ Group: Libraries -Source0: http://matroska.free.fr/downloads/%{name}/%{name}-%{version}.tar.gz -# Source0-md5: bcad636446f56a7f7e3ba50d0a6ec282 +Source0: http://dl.matroska.org/downloads/libmatroska/%{name}-%{version}.tar.bz2 +# Source0-md5: f4a8c411f09d39c754eb726efd616043 Patch0: %{name}-makefile.patch URL: http://www.matroska.org/ -BuildRequires: libebml-devel +BuildRequires: libebml-devel >= 1.2.2 BuildRequires: libstdc++-devel BuildRequires: libtool +BuildRequires: rpmbuild(macros) >= 1.566 +BuildRequires: sed >= 4.0 +Requires: libebml >= 1.2.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -22,46 +25,49 @@ binary version of XML. This way the significant advantages in terms of future format extensibility are gained without breaking file support in old parsers. -%description -l pl -Matroska to rozszerzalny otwarty format kodowania d¼wiêku i obrazu, -d±¿±cy do stania siê pewnego dnia standardem formatów zawieraj±cych -multimedia. Jest on oparty na EBML (rozszerzalnym metajêzyku -binarnym), binarnym odpowiedniku XML. W ten sposób ma on przewagê nad -innymi formatami pod wzglêdem przysz³ej rozszerzalno¶ci przy -jednoczesnym zachowaniu kompatybilno¶ci wstecz. +%description -l pl.UTF-8 +Matroska to rozszerzalny otwarty format kodowania dźwięku i obrazu, +dążący do stania się pewnego dnia standardem formatów zawierających +multimedia. Jest on oparty na EBML (rozszerzalnym metajęzyku +binarnym), binarnym odpowiedniku XML-a. W ten sposób ma on przewagę +nad innymi formatami pod względem przyszłej rozszerzalności przy +jednoczesnym zachowaniu kompatybilności wstecz. %package devel Summary: Header files for matroska library -Summary(pl): Nag³ówki dla biblioteki matroska +Summary(pl.UTF-8): Nagłówki dla biblioteki matroska Group: Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} +Requires: libebml-devel >= 1.2.2 Requires: libstdc++-devel %description devel Header files for matroska library. -%description devel -l pl -Nag³ówki dla biblioteki matroska. +%description devel -l pl.UTF-8 +Nagłówki dla biblioteki matroska. %package static Summary: Static version of matroska library -Summary(pl): Statyczna wersja biblioteki matroska +Summary(pl.UTF-8): Statyczna wersja biblioteki matroska Group: Development/Libraries -Requires: %{name}-devel = %{version} +Requires: %{name}-devel = %{version}-%{release} %description static Static version of matroska library. -%description static -l pl +%description static -l pl.UTF-8 Statyczna wersja biblioteki matroska. %prep -%setup -q -n %{name} -%patch0 -p1 -b .djurban +%setup -q +%undos make/linux/Makefile +%patch0 -p1 %build %{__make} -C make/linux \ prefix=%{_prefix} \ + libdir=%{_libdir} \ CXX="%{__cxx}" \ LD="%{__cxx}" \ DEBUGFLAGS="%{rpmcflags} %{?debug:-DDEBUG}" \ @@ -72,7 +78,8 @@ Statyczna wersja biblioteki matroska. rm -rf $RPM_BUILD_ROOT %{__make} -C make/linux install \ - prefix=$RPM_BUILD_ROOT%{_prefix} + prefix=$RPM_BUILD_ROOT%{_prefix} \ + libdir=$RPM_BUILD_ROOT%{_libdir} # prepare docs (with working hyperlinks) #install -d doc @@ -86,7 +93,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc ChangeLog %attr(755,root,root) %{_libdir}/libmatroska.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libmatroska.so.5 %files devel %defattr(644,root,root,755)