diff --git a/openbox.spec b/openbox.spec index 9c3c8c4..76765f7 100644 --- a/openbox.spec +++ b/openbox.spec @@ -21,8 +21,6 @@ Patch3: openbox-3.5.0-gnomesession-fixes.patch # https://github.com/Mikachu/openbox/commit/339c19d1 Patch4: openbox-3.5.0-Fix-crash-on-unexpected-NET_WM_MOVERESIZE_CANCEL-messages.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - Requires: %{name}-libs = %{version}-%{release} # required by xdg-menu and xdg-autostart scripts @@ -147,7 +145,6 @@ make %{?_smp_mflags} gcc %{optflags} -o setlayout %{SOURCE1} -lX11 %install -rm -rf %{buildroot} make install DESTDIR=%{buildroot} install setlayout %{buildroot}%{_bindir} @@ -170,12 +167,7 @@ rm -f %{buildroot}%{_libdir}/*.la rm -rf %{buildroot}%{_datadir}/doc/%{name} -%clean -rm -rf %{buildroot} - - %files -f %{name}.lang -%defattr(-,root,root,-) %doc AUTHORS CHANGELOG COMPLIANCE COPYING README %doc data/*.xsd data/menu.xml doc/rc-mouse-focus.xml %dir %{_sysconfdir}/xdg/%{name}/ @@ -194,20 +186,17 @@ rm -rf %{buildroot} %{_mandir}/man1/obxprop.1* %files libs -%defattr(-,root,root,-) %doc COPYING %{_libdir}/libobrender.so.* %{_libdir}/libobt.so.* %files devel -%defattr(-,root,root,-) %{_includedir}/%{name}/ %{_libdir}/libobrender.so %{_libdir}/libobt.so %{_libdir}/pkgconfig/*.pc %files gnome -%defattr(-,root,root,-) %{_bindir}/%{name}-gnome-session %{_datadir}/xsessions/%{name}-gnome.desktop %{_datadir}/gnome/wm-properties/openbox.desktop @@ -215,15 +204,12 @@ rm -rf %{buildroot} %{_mandir}/man1/%{name}-gnome-session*.1* %files -n gnome-panel-control -%defattr(-,root,root,-) %{_bindir}/gnome-panel-control %files -n gdm-control -%defattr(-,root,root,-) %{_bindir}/gdm-control %files kde -%defattr(-,root,root,-) %{_bindir}/%{name}-kde-session %{_datadir}/xsessions/%{name}-kde.desktop %{_mandir}/man1/%{name}-kde-session*.1*