- new
authorgrzegol <grzegol@pld-linux.org>
Mon, 2 Aug 2004 21:17:11 +0000 (21:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dirac.spec -> 1.1

dirac.spec [new file with mode: 0644]

diff --git a/dirac.spec b/dirac.spec
new file mode 100644 (file)
index 0000000..3b7b867
--- /dev/null
@@ -0,0 +1,101 @@
+Summary:       General purpose video codec
+Summary(pl):   Kodek obrazu ogólnego przeznaczenia
+Name:          dirac
+Version:       0.3.1
+Release:       1
+License:       Mozilla Public License
+Group:         Libraries
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: 12d0c09b3128ea88d10b9491b56364e0
+Patch0:                %{name}-shared.patch
+URL:           http://www.bbc.co.uk/rd/projects/dirac/
+BuildRequires: autoconf
+BuildRequires: automake
+Buildrequires: doxygen
+BuildRequires: libtool
+BuildRequires: tetex-format-latex
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _noautocompressdoc      *.map
+
+%description
+Dirac is a general-purpose video codec aimed at resolutions from QCIF
+(180x144) to HDTV (1920x1080) progressive or interlaced. It uses
+wavelets, motion compensation and arithmetic coding.
+
+%description -l pl
+Dirac jest kodekiem ogólnego przeznaczenia dla obrazu o
+rozdzielczo¶ciach od QCIF (180x144) do HDTV (1920x1080). Kodek ten
+wykorzystuje fale elementarne (wavelets), kompensacjê ruchu (motion
+compensation) oraz kodowanie arytmentczne (arithmetic coding).
+
+%package devel
+Summary:       Header files for dirac library
+Summary(pl):   Pliki nag³ówkowe biblioteki dirac
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for dirac library.
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki dirac.
+
+%package static
+Summary:       Static dirac library
+Summary(pl):   Statyczna biblioteka dirac
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static dirac library.
+
+%description static -l pl
+Statyczna biblioteka dirac.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install %{name}.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
+
+rm -f doc/api/{Makefile*,dirac_api.doxygen,dirac_api_foot.html,dirac_api_head.html,html/{*.md5,graph_legend.dot}}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO doc/faq.htm
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/api doc/programmers/programmers_guide.pdf doc/dirac_doc_howto.txt
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/%{name}
+%{_pkgconfigdir}/*.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.02806 seconds and 4 git commands to generate.