Changeset 1175:13a3c66dd596 in mediastreamer2
- Timestamp:
- Oct 18, 2010 10:31:09 PM (3 years ago)
- Branch:
- default
- Files:
-
- 2 edited
-
Makefile.am (modified) (1 diff)
-
mediastreamer2.spec.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r856 r1175 17 17 # <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206841> 18 18 TAR_OPTIONS=--wildcards rpmbuild -ta --clean --rmsource --rmspec $(PACKAGE)-$(VERSION).tar.gz 19 20 rpm-novideo: 21 $(MAKE) dist 22 # <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206841> 23 TAR_OPTIONS=--wildcards rpmbuild -ta --clean --rmsource --rmspec --without video $(PACKAGE)-$(VERSION).tar.gz 24 19 25 20 26 # `make package' -
mediastreamer2.spec.in
r905 r1175 1 1 # -*- rpm-spec -*- 2 2 # 3 # mediastreamer2 -- A media streaming library for telephony applications3 # mediastreamer2 -- A media streaming library for telephony applications 4 4 # 5 5 … … 47 47 %define mediastreamer2_cflags %mediastreamer2_arch_cflags -Wall -g -pipe -pthread -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -fstrict-aliasing 48 48 49 50 %define opt_with() %{expand:%%global with_%{1} %%{?_with_%{1}:1}%%{?!_with_%{1}:0}} 51 %define opt_without() %{expand:%%global with_%{1} %%{!?_without_%{1}:1}%%{?_without_%{1}:0}} 52 53 %opt_with video - build with video features 54 55 %define have_video %{?_with_video:1}%{!?_with_video:0} 56 49 57 %prep 50 58 %setup -q 51 59 52 60 %build 53 %configure \ 54 --enable-gtk-doc=no \ 55 --enable-shared --enable-static 61 options="--enable-shared --enable-static" 62 %if !%{have_video} 63 options="$options --disable-video" 64 %endif 65 66 %configure $options 67 56 68 make -j$RPM_BUILD_NCPUS CFLAGS="%mediastreamer2_cflags" CXXFLAGS="%mediastreamer2_cflags" 57 69 … … 65 77 %files 66 78 %defattr(-,root,root,-) 67 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO79 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README 68 80 %{_libdir}/*.so.* 81 /usr/share/images/nowebcamCIF.jpg 82 %{_libexecdir} 69 83 70 84 %files devel 71 85 %defattr(-,root,root,-) 72 %doc docs/html73 86 %{_libdir}/*.la 74 87 %{_libdir}/*.a … … 76 89 %{_libdir}/pkgconfig/*.pc 77 90 %{_includedir} 91 %{_docdir} 78 92 79 93 %changelog
Note: See TracChangeset
for help on using the changeset viewer.
