Projects
Multimedia
LiVES
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 45
View file
LiVES.spec
Changed
@@ -73,10 +73,10 @@ Requires: ladspa Recommends: libvisual-plugins Recommends: %{name}-lang -Requires: libweed%{soname} = %{version} +Requires: libweed%{soname} = %version-%release Requires: sox -Provides: lives -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Provides: lives = %version-%release +ExclusiveArch: %ix86 x86_64 %description LiVES is aimed at the digital video artist who wants to create their own @@ -95,7 +95,7 @@ %package -n libweed-devel Summary: Libweed devel package Group: Development/Libraries/C and C++ -Requires: libweed%{soname} = %{version} +Requires: libweed%{soname} = %version-%release %description -n libweed-devel LiVES is aimed at the digital video artist who wants to create their own @@ -122,7 +122,7 @@ %package -n libOSC-devel Summary: Libweed devel package Group: Development/Libraries/C and C++ -Requires: libOSC%{soname} = %{version} +Requires: libOSC%{soname} = %version-%release %description -n libOSC-devel LiVES is aimed at the digital video artist who wants to create their own @@ -136,21 +136,20 @@ %prep %setup -q -n lives-%{version} -#%patch0 -p1 + +%build # fix wrong EOL sed -i 's/\r$//' weed-docs/*.txt -find . -type d -name .svn | while read d; do rm -rf "$d"; done +find . -type d -name .svn -exec rm -rfv '{}' + pushd libweed ln -s . weed # Update the library paths in libweed/*.pc -for pkg in $(find . -type f -name \*.pc); do -sed -i 's/lib$/%{_lib}/' $pkg; done +find . -type f -name '*.pc' -exec sed -i 's/lib$/%{_lib}/' '{}' + popd #libweed -%build export CFLAGS="%{optflags} -fno-strict-aliasing -I$PWD/libweed/" export CPPFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS" @@ -158,12 +157,12 @@ --libdir="%{_libdir}" \ --disable-doxygen -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install +%make_install -find %{buildroot} \( -name \*.la -o -name \*.a \) -exec rm {} \; +find %{buildroot} \( -name \*.la -o -name \*.a \) -exec rm -fv '{}' + rm -rf "%{buildroot}%{_datadir}/app-install" @@ -180,7 +179,7 @@ ln -s %{_bindir}/lives-exe %{buildroot}/%{_bindir}/lives find %{buildroot}%{_libdir} \ --name \*.txt -type f -executable -exec chmod 644 {} \; || : +-name '*.txt' -type f -executable -exec chmod -v 644 '{}' + %suse_update_desktop_file -r %{name} AudioVideo AudioVideoEditing %find_lang lives @@ -200,7 +199,6 @@ %postun -n libOSC%{soname} -p /sbin/ldconfig %files -%defattr(-,root,root) %docdir %{_datadir}/doc/lives-%{version} %dir %{_datadir}/doc/lives-%{version} %doc %{_datadir}/doc/lives-%{version}/* @@ -409,7 +407,6 @@ %{_libdir}/lives/plugins/effects/realtime/weed/randomiser.so %files -n libweed%{soname} -%defattr(-,root,root) %{_libdir}/libweed.so.%{soname} %{_libdir}/libweed.so.%{soname}.* %{_libdir}/libweed-utils.so.%{soname} @@ -422,7 +419,6 @@ %{_libdir}/libweed_slice_scripting.so.%{soname}.* %files -n libweed-devel -%defattr(-,root,root) %{_includedir}/weed %{_libdir}/libweed.so %{_libdir}/libweed-utils.so @@ -436,18 +432,15 @@ %{_libdir}/pkgconfig/libweed-compat.pc %files -n libOSC%{soname} -%defattr(-,root,root) %{_libdir}/libOSC.so.%{soname} %{_libdir}/libOSC.so.%{soname}.* %{_libdir}/libOSC_client.so.%{soname} %{_libdir}/libOSC_client.so.%{soname}.* %files -n libOSC-devel -%defattr(-,root,root) %{_libdir}/libOSC.so %{_libdir}/libOSC_client.so %files lang -f lives.lang -%defattr(-,root,root) %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.