]> git.pld-linux.org Git - packages/avidemux.git/commitdiff
- hacks to fix build (kdevelop's ac/am broken as usual), use optflags
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 5 Jul 2004 14:29:41 +0000 (14:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    avidemux.spec -> 1.23

avidemux.spec

index c70217b60484bf508a43f1a4d7b426f4a7f54dcd..d383c396fc677bdbcb58ce1a7bfe9357c5d9e926 100644 (file)
@@ -19,6 +19,7 @@ BuildRequires:        artsc-devel
 BuildRequires: esound-devel
 BuildRequires: ffmpeg-devel
 BuildRequires: freetype-devel >= 2.0.0
+BuildRequires: gettext-devel
 BuildRequires: gtk+2-devel >= 2.0.0
 BuildRequires: lame-libs-devel
 BuildRequires: libmad-devel
@@ -27,7 +28,7 @@ BuildRequires:        libstdc++-devel
 BuildRequires: libvorbis-devel
 BuildRequires: libxml2-devel
 BuildRequires: pkgconfig
-BuildRequires: xvid-devel
+BuildRequires: xvid-devel >= 1:1.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,9 +41,17 @@ Ma
 %setup -q
 %patch0 -p1
 
+# hack to not rebuild ac/am (buggy)
+%{__perl} -pi -e 's/(subdirs:)$/$1 README/' Makefile.in
+%{__perl} -pi -e 's/(configure\.in:).*$/$1 README/' Makefile.in
+
+%{__perl} -pi -e 's/-g|-O2//g' adm_lavcodec/Makefile
+%{__perl} -pi -e 's/charset=Unicode/charset=UTF-8/' po/ru.po
+
 %build
 %configure
-%{__make}
+%{__make} \
+       OPTFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -51,13 +60,12 @@ install -d $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-##%find_lang %{name}
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-##%files -f %{name}.lang
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README AUTHORS TODO
 %attr(755,root,root) %{_bindir}/*
This page took 0.05644 seconds and 4 git commands to generate.