]> git.pld-linux.org Git - packages/icewm.git/blobdiff - icewm.spec
- patch updated
[packages/icewm.git] / icewm.spec
index 449b3e45ed1e9711ce0430c8bf4b6db23f6f7fd8..39710536f72358287f451c29b47312c446eb99ad 100644 (file)
@@ -1,61 +1,99 @@
-Summary:     IceWM X11 Window Manager
-Summary(pl): IceWM - Mened¿er okienek X11
-Name:        icewm
-Version:     0.9.17
-Release:     1
-Copyright:   GPL
-Group:       X11/Window Managers
-Source:      http://www.kiss.uni-lj.si/~k4fr0235/icewm/devel/%{name}-%{version}.src.tar.gz
-URL:         http://berta.fri.uni-lj.si/~markom/icewm/
-BuildRoot:   /tmp/%{name}-%{version}
+Summary:       IceWM X11 Window Manager
+Summary(pl):   IceWM - Mened¿er okienek X11
+Name:          icewm
+Version:       1.0.8
+Release:       1
+License:       GPL
+Group:         X11/Window Managers
+Group(es):     X11/Administraadores De Ventanas
+Group(fr):     X11/Gestionnaires De Fenêtres
+Group(pl):     X11/Zarz±dcy Okien
+Source0:       ftp://download.sourceforge.net/pub/sourceforge/icewm/%{name}-%{version}-4.tar.bz2
+Source1:       IceWM.desktop
+Source2:       %{name}.directory
+Patch0:                icewm-DESTDIR.patch
+Patch1:                %{name}-time.patch
+URL:           http://www.icewm.org/
+BuildRequires: autoconf
+BuildRequires: imlib-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng >= 1.0.8
+BuildRequires: libtiff-devel
+BuildRequires: libungif-devel
+BuildRequires: XFree86-devel
+BuildRequires: zlib-devel
+BuildRequires: gnome-libs-devel
+BuildRequires: libstdc++-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _sysconfdir     /etc
+%define                _wmpropsdir     %{_datadir}/wm-properties
 
 %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.
-Features multiple workspaces, opaque move/resize, task bar, window list,
-mailbox status, digital clock. Fast and small.
+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. Features multiple workspaces, opaque move/resize,
+task bar, window list, mailbox status, digital clock. Fast and small.
 
 %description -l pl
-Mened¿er okienek pod X11. Mo¿e emulowaæ wygl±d Windows'95, OS/2 Warp 3,4,
-MWM. Mened¿er ten próbije wybraæ najjleprze cechy dostêpne w powy¿szych
-¶rodowiskach jak wiele jednocze¶nie obecnych przestrzeni roboczych, paski
-narzêdziowe, status skrzynki z poczt±, cyfrowy zegar. Jest tak¿e ma³y i
-szybki przy tym.
+Mened¿er okienek pod X11. Mo¿e emulowaæ wygl±d Windows'95, OS/2 Warp
+3,4, MWM. Mened¿er ten próbuje wybraæ najlepsze cechy dostêpne w
+powy¿szych ¶rodowiskach, jak: wiele jednocze¶nie obecnych przestrzeni
+roboczych, paski narzêdziowe, status skrzynki z poczt±, cyfrowy zegar.
+Jest przy tym ma³y i szybki.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-./config \
+autoconf
+%configure \
        --with-shape \
        --with-sm \
        --with-imlib \
        --with-gnome \
-#      --with-i18n
+       --with-gnome-menus \
+       --with-i18n \
+       --enable-nls \
+       --enable-guievents \
+       --with-imlib 
 
-make PREFIX=/usr/X11R6 optimize="$RPM_OPT_FLAGS"
+%{__make}
 
 %install
-make install \
-       PREFIX=$RPM_BUILD_ROOT/usr/X11R6 \
-       ETCDIR=$RPM_BUILD_ROOT/etc/X11/icewm
+rm -rf $RPM_BUILD_ROOT
+%{__install} -d $RPM_BUILD_ROOT%{_wmpropsdir}
+%{__install} -d $RPM_BUILD_ROOT%{_prefix}/share/applnk/Settings/IceWM
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
+%{__install} %{SOURCE2} $RPM_BUILD_ROOT%{_prefix}/share/applnk/Settings/IceWM/.directory
+%{__install} lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/keys
+%{__install} lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/menu
+%{__install} lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/toolbar
+%{__install} lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/preferences
+%{__install} lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/winoptions
+
+gzip -9nf README CHANGES TODO BUGS
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(644, root, root, 755)
-%doc README CHANGES TODO BUGS doc/*.html
-/usr/X11R6/lib/X11/icewm
-%attr(755, root, root) /usr/X11R6/bin/*
-
-%changelog
-* 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 (allow build package from
-  non-root account).
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%doc {README,CHANGES,TODO,BUGS}.gz doc/*.html
+%attr(755,root,root) %{_bindir}/*
+%attr(644,root,root)
+%dir %{_prefix}/share/applnk/Settings/IceWM
+%{_prefix}/share/applnk/Settings/IceWM/.directory
+%dir %{_libdir}/X11/icewm
+%{_libdir}/X11/icewm/*
+%{_wmpropsdir}/*
This page took 0.0914 seconds and 4 git commands to generate.