Projects
Multimedia
djv
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 11
View file
djv.spec
Changed
@@ -126,20 +126,14 @@ Help documentation for %{name}. %prep -%setup -q -n %{name}-%{version} - -%patch1 -p1 -%patch2 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 +%autosetup -p1 -n %{name}-%{version} +%build # Change exec-path sed -i '/Exec/s|[/].*|%{name}_view|' $(grep -rl 'djv_view.sh') sed -i~ /tests/d CMakeLists.txt -%build +CXXFLAGS='%{optflags} -std=gnu++11' %cmake \ -DCMAKE_SKIP_RPATH=OFF @@ -162,7 +156,7 @@ %fdupes -s %{buildroot}/%{_datadir} -%check +#check # Only local test #sed -i '/ctest/s|\(bin/ctest\)|\1 -V|' build/Makefile #make test -C build @@ -182,8 +176,8 @@ %icon_theme_cache_postun %files -%defattr(-,root,root) -%doc LICENSE README +%doc README +%license LICENSE %{_bindir}/%{name}_convert %{_bindir}/%{name}_info %{_bindir}/%{name}_ls @@ -195,20 +189,16 @@ %exclude %{_libdir}/%{name}/lib%{name}*Plugin.so %files -n lib%{name}Core%{soname} -%defattr(-,root,root) %{_libdir}/lib%{name}*.so.* %files plugins -%defattr(-,root,root) %{_libdir}/%{name}/lib%{name}*Plugin.so %files devel -%defattr(-,root,root) %{_includedir}/%{name}*.h %{_libdir}/lib%{name}*.so %files doc -%defattr(-,root,root) %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/doc %{_datadir}/%{name}/doc
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
.