SHA256
1
0
forked from pool/WindowMaker
OBS User unknown 2008-03-16 18:58:55 +00:00 committed by Git OBS Bridge
parent 357d27bb3a
commit 8fa5102d54
2 changed files with 30 additions and 26 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Mar 16 03:25:56 CET 2008 - crrodriguez@suse.de
- fix file-not-in-lang errors
-------------------------------------------------------------------
Wed Jan 23 12:41:58 CET 2008 - nadvornik@suse.cz

View File

@ -10,6 +10,7 @@
# norootforbuild
Name: WindowMaker
BuildRequires: freetype2-devel gcc-c++ giflib-devel hermes-devel libpng-devel libtiff-devel update-desktop-files xorg-x11-devel
License: GPL v2 or later; LGPL v2.1 or later; Public Domain, Freeware
@ -21,7 +22,7 @@ Requires: xdg-menu
AutoReqProv: on
Summary: A Colorful and Flexible Window Manager
Version: 0.92.0
Release: 132
Release: 147
Source: WindowMaker-%{version}.tar.bz2
Source1: WindowMaker-extra-0.1.tar.bz2
Source2: SuSE-theme.tar.bz2
@ -48,7 +49,7 @@ Patch37: WindowMaker-event.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package devel
Requires: WindowMaker libtiff-devel libjpeg-devel xorg-x11-devel libpng-devel zlib-devel giflib-devel
Requires: %{name} = %{version} libtiff-devel libjpeg-devel xorg-x11-devel libpng-devel zlib-devel giflib-devel
Summary: Includes and static libraries for Window Maker
Group: Development/Libraries/X11
@ -103,25 +104,20 @@ rename no nb po/no.*
autoreconf --force --install
export LINGUAS="be bg ca cs da de el es et fi fr gl hr hu it ja ko ms nl nb pl pt ro ru sk sv tr zh_CN zh_TW"
export CFLAGS="$RPM_OPT_FLAGS $(freetype-config --cflags)"
./configure --prefix=/usr \
--exec-prefix=/usr \
%configure \
--sysconfdir=/etc/X11 \
--mandir=%{_mandir} \
--enable-sound \
--enable-gnome \
--enable-kde \
--enable-xinerama \
--with-nlsdir=/usr/share/locale \
--with-pixmapdir=/usr/share/WindowMaker/Pixmaps \
--libdir=%{_libdir} \
--with-gnustepdir=/usr/lib/GNUstep
(cd WindowMaker/Defaults; make clean; make)
make
(cd WindowMaker-extra-0.1
./configure --prefix=/usr \
--exec-prefix=/usr \
%configure \
--with-pixmapdir=/usr/share/WindowMaker/Pixmaps \
--libdir=%{_libdir}
make
)
# ---------------------------------------------------------------------------
@ -142,27 +138,28 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/sk/man1/*
install -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.desktop
cd ..
%find_lang %{name}
%find_lang WINGs %{name}.lang
%find_lang WPrefs %{name}.lang
%clean
rm -rf "$RPM_BUILD_ROOT"
%post
%run_ldconfig
%post -p /sbin/ldconfig
%postun
%run_ldconfig
%postun -p /sbin/ldconfig
%files
%files -f %{name}.lang
%defattr(-,root,root)
%dir /etc/X11/WindowMaker
%config /etc/X11/WindowMaker/*
/usr/lib/GNUstep
/usr/bin/*
/usr/%{_lib}/*.so.*
%doc %{_mandir}/man1/*
%{_libdir}/*.so.*
%{_mandir}/man1/*
/usr/share/WINGs
/usr/share/WindowMaker
/usr/share/locale/*/*/*
/usr/share/xsessions/*
%doc AUTHORS BUGFORM BUGS COPYING COPYING.WTFPL ChangeLog FAQ FAQ.I18N
%doc MIRRORS NEWS README TODO README.SuSE
@ -172,13 +169,15 @@ rm -rf "$RPM_BUILD_ROOT"
%files devel
%defattr(-,root,root)
/usr/%{_lib}/pkgconfig/*.pc
/usr/include/*
/usr/%{_lib}/*.a
/usr/%{_lib}/*.so
/usr/%{_lib}/*.la
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/*.la
%changelog
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang errors
* Wed Jan 23 2008 nadvornik@suse.cz
- fixed declaration of functions in event.c [#355254]
* Sat Mar 03 2007 aj@suse.de
@ -380,7 +379,7 @@ rm -rf "$RPM_BUILD_ROOT"
- fixed file permissions
* Fri Feb 22 2002 nadvornik@suse.cz
- replaced /home/mawa with $HOME in german menu
* Thu Feb 21 2002 adrian@suse.de
* Fri Feb 22 2002 adrian@suse.de
- add SuSE default theme by Ken
- change behaviour of LMB on background (menu instead of selection)
* Mon Feb 18 2002 nadvornik@suse.cz
@ -458,13 +457,13 @@ rm -rf "$RPM_BUILD_ROOT"
- build with i18n support
* Fri Apr 21 2000 nadvornik@suse.cz
- added BuildRoot
* Mon Apr 10 2000 bk@suse.de
* Tue Apr 11 2000 bk@suse.de
- added suse update config macro
* Wed Mar 01 2000 choeger@suse.de
- added mandir
* Tue Feb 29 2000 choeger@suse.de
- added wterm to requires
* Mon Oct 25 1999 ro@suse.de
* Tue Oct 26 1999 ro@suse.de
- switched to libungif
* Tue Oct 19 1999 choeger@suse.de
- new version, 0.61.1
@ -474,7 +473,7 @@ rm -rf "$RPM_BUILD_ROOT"
- new version
* Mon Sep 20 1999 ro@suse.de
- added provides windowmanager
* Tue Sep 14 1999 ro@suse.de
* Wed Sep 15 1999 ro@suse.de
- finally removed libproplist-files from filelist
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.