Something went wrong. Try again.
Maps Linux distribution source packages to their upstream repositories, and through them to each other
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204## spec file for package WindowMaker## Copyright (c) 2024 SUSE LLC## All modifications and additions to the file contributed by third parties# remain the property of their copyright owners, unless otherwise agreed# upon. The license for this file, and modifications and additions to the# file, is the same license as for the pristine package itself (unless the# license for the pristine package is not an Open Source License, in which# case the license is the MIT License). An "Open Source License" is a# license that conforms to the Open Source Definition (Version 1.9)# published by the Open Source Initiative.# Please submit bugfixes or comments via https://bugs.opensuse.org/#Name: WindowMakerSummary: A Colorful and Flexible Window ManagerLicense: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-DomainGroup: System/GUI/OtherVersion: 0.96.0Release: 0URL: http://windowmaker.org/Source: http://windowmaker.org/pub/source/release/%{name}-%{version}.tar.gzSource1: %{name}-extra-0.1.tar.bz2Source2: theme.tar.bz2Source4: README.SUSESource5: %{name}.desktopSource6: windowmakerPatch1: %{name}-config.patchPatch2: %{name}-menu.patchPatch3: fix_wmgenmenu_paths.patch#Patch101: wm-giflib.patch# PATCH-FEATURE-OPENSUSEPatch102: WindowMaker-reproducible.patchBuildRoot: %{_tmppath}/%{name}-%{version}-buildBuildRequires: fdupesBuildRequires: fontconfig-develBuildRequires: freetype2-develBuildRequires: gcc-c++BuildRequires: giflib-develBuildRequires: libexif-develBuildRequires: libjpeg-develBuildRequires: libpng-develBuildRequires: libtiff-develBuildRequires: libtoolBuildRequires: pkgconfigBuildRequires: update-desktop-filesBuildRequires: wallpaper-branding-openSUSEBuildRequires: pkgconfig(ImageMagick)BuildRequires: pkgconfig(libwebp)BuildRequires: pkgconfig(pango)BuildRequires: pkgconfig(x11)BuildRequires: pkgconfig(xext)BuildRequires: pkgconfig(xft)BuildRequires: pkgconfig(xinerama)BuildRequires: pkgconfig(xmu)BuildRequires: pkgconfig(xpm)Requires: wallpaper-branding-openSUSERequires: xdg-menuProvides: windowmanagerProvides: wmaker%descriptionWindow Maker is an X11 window manager originally designed to provideintegration support for the GNUstep Desktop Environment. In every waypossible, it reproduces the elegant look and feel of the NEXTSTEP userinterface. It is fast, feature rich, easy to configure, and easy touse. It is also free software, with contributions being made byprogrammers from around the world.Window Maker has a stable user interface since many years and comeswith a powerful GUI configuration editor called WPrefs, which removesthe need to edit text-based config files by hand. It supports runningdockapps which make everyday tasks such as monitoring systemperformance and battery usage, mounting devices or connecting to theinternet very easy. Please see the features section for more specificson what Window Maker can do, and how it compares with other popularwindow managers.%package develSummary: Development files for WindowMakerLicense: GPL-2.0-or-laterGroup: Development/Libraries/X11Requires: %{name} = %{version}%description develThis package contains the header files and libraries necessary fordeveloping applications which use WindowMaker.%prep%setup -q -n %{name}-%{version} -a 1mkdir menu_origcp %{name}/{menu.*,plmenu.*} menu_orig%patch -P 1%patch -P 2%patch -P 3%patch -P 101%patch -P 102cp %{S:4} .cp %{S:6} .%if 0%{?suse_version} < 1140rename no nb po/no.*%endif# ---------------------------------------------------------------------------%buildbash -x ./autogen.shexport LINGUAS="be bg bs ca cs da de el es et fi fr gl hr hu hy it ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW"export CFLAGS="$RPM_OPT_FLAGS $(freetype-config --cflags)"%configure \ --prefix=/usr \ --datadir=/usr/share \ --disable-static \ --with-pic\ --sysconfdir=/etc/X11 \ --enable-xinerama \ --localedir=/usr/share/locale \ --with-pixmapdir=/usr/share/%{name}/Pixmaps \ --with-gnustepdir=/usr/lib/GNUstepmake %{?_smp_mflags}(cd %{name}-extra-0.1%configure \ --prefix=/usr \ --disable-static \ --with-pic\ --with-pixmapdir=/usr/share/%{name}/Pixmapsmake %{?_smp_mflags})# ---------------------------------------------------------------------------%installmake DESTDIR=$RPM_BUILD_ROOT installinstall -m 755 dockit $RPM_BUILD_ROOT/usr/bin/dockitinstall -m 755 windowmaker $RPM_BUILD_ROOT/usr/bin/windowmakercd %{name}-extra-0.1make DESTDIR=$RPM_BUILD_ROOT installtar -xvjf %SOURCE2 -C $RPM_BUILD_ROOT/usr/share/%{name}/Themes/find $RPM_BUILD_ROOT/usr/share/%{name}/Themes -type f -exec chmod 644 {} \;find $RPM_BUILD_ROOT/usr/share/%{name}/Themes -type d -exec chmod 755 {} \;# use default openSUSE wallpaper in SUSE themepushd %{buildroot}/usr/share/%{name}/Themes/SUSE.themed/%if 0%{?sle_version} <= 150500 && 0%{?is_opensuse}ln -sf /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg default.png%endif%if 0%{?sle_version} >= 150600 && 0%{?is_opensuse}ln -sf /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.png default.png%endif%if 0%{?suse_version} > 1600ln -sf /usr/share/wallpapers/openSUSEdefault/contents/images/1920x1200.png default.png%endifpopd#----------------------------------------------------------------------# not packagedrm -f $RPM_BUILD_ROOT/%{_mandir}/{cs,ru,sk}/man1/*rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la# install kdm/gdm entryinstall -m 0755 -d $RPM_BUILD_ROOT/usr/share/xsessions/install -m 0644 %SOURCE5 $RPM_BUILD_ROOT/usr/share/xsessions/%suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/xsessions/%{name}.desktopcd ..%find_lang %{name}%find_lang WINGs %{name}.lang%find_lang WPrefs %{name}.lang%find_lang WRaster %{name}.lang%find_lang wmgenmenu %{name}.lang# rpmlint%fdupes -s $RPM_BUILD_ROOT/usr/share/%post -p /sbin/ldconfig%postun -p /sbin/ldconfig%files -f %{name}.lang%defattr(-,root,root)%license COPYING COPYING.WTFPL%doc AUTHORS BUGFORM BUGS ChangeLog FAQ%doc NEWS README* TODO%doc menu_orig%dir /etc/X11/%{name}%config /etc/X11/%{name}/*/usr/lib/GNUstep/usr/bin/*%{_libdir}/*.so.*%{_mandir}/man1/*/usr/share/WINGs/usr/share/%{name}/usr/share/xsessions/*/usr/share/applications/*%files devel%defattr(-,root,root)%{_includedir}/*%{_libdir}/pkgconfig/*.pc%{_libdir}/*.so%changelog