]> git.pld-linux.org Git - packages/icewm.git/blobdiff - icewm.spec
- typo.
[packages/icewm.git] / icewm.spec
index 71168a0d14757e97e85671073a20c06a370ee115..ef458205ef18b837e768268eefe2537ac1f17642 100644 (file)
@@ -1,15 +1,24 @@
 Summary:       IceWM X11 Window Manager
 Summary(pl):   IceWM - Mened¿er okienek X11
 Name:          icewm
-Version:       0.9.37
+Version:       1.0.0
 Release:       1
-Copyright:     GPL
+License:       GPL
 Group:         X11/Window Managers
 Group(pl):     X11/Zarz±dcy Okien
-Source:                http://www.kiss.uni-lj.si/~k4fr0235/icewm/devel/%{name}-%{version}.src.tar.gz
-URL:           http://berta.fri.uni-lj.si/~markom/icewm/
+Source:                http://download.sourceforge.net/icewm/%{name}-%{version}.src.tar.gz
+URL:           http://icewm.sourceforge.net/
+BuildRequires: imlib-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: libtiff-devel
+BuildRequires: libungif-devel
+BuildRequires: XFree86-devel
 BuildRoot:     /tmp/%{name}-%{version}-root
 
+%define                _prefix         /usr/X11R6
+%define                _sysconfdir     /etc/X11/icewm
+
 %description
 Window Manager for X Window System. Can emulate the look of Windows'95,
 OS/2 Warp 3,4, Motif. Tries to take the best features of the above systems.
@@ -27,19 +36,24 @@ szybki przy tym.
 %setup -q
 
 %build
-./config \
+LDFLAGS="-s"; export LDFLAGS
+%configure \
        --with-shape \
        --with-sm \
        --with-imlib \
        --with-gnome \
-#      --with-i18n
+       --with-i18n
 
 make PREFIX=/usr/X11R6 optimize="$RPM_OPT_FLAGS"
 
 %install
+rm -rf $RPM_BUILD_ROOT
+
 make install \
-       PREFIX=$RPM_BUILD_ROOT/usr/X11R6 \
-       ETCDIR=$RPM_BUILD_ROOT/etc/X11/icewm
+       PREFIX=$RPM_BUILD_ROOT%{_prefix} \
+       BINDIR=$RPM_BUILD_ROOT%{_bindir} \
+       LIBDIR=$RPM_BUILD_ROOT%{_libdir}/X11/icewm \
+       ETCDIR=$RPM_BUILD_ROOT%{_sysconfdir}
 
 gzip -9nf README CHANGES TODO BUGS
 
@@ -49,21 +63,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc {README,CHANGES,TODO,BUGS}.gz doc/*.html
-/usr/X11R6/lib/X11/icewm
-%attr(755,root,root) /usr/X11R6/bin/*
-
-%changelog
-* Fri Mar 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.9.34-1]
-- added gzipping some %doc,
-- added Group(pl).
-
-* Fri Nov 20 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.9.17-1]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added using $RPM_OPT_FLAGS during compile,
-- added pl translation,
-- added %attr and %defattr macros in %files (allows build package from
-  non-root account).
+%dir %{_sysconfdir}
+%{_libdir}/X11/icewm
+%attr(755,root,root) %{_bindir}/*
This page took 0.071588 seconds and 4 git commands to generate.