]> git.pld-linux.org Git - packages/aewm.git/blobdiff - aewm.spec
fixed a small typo
[packages/aewm.git] / aewm.spec
index b1c780a89796b8420b7a35c81c8e11779a5f974d..85d9d44d2ed9bcdf578f7099cfbae3c85f8901cc 100644 (file)
--- a/aewm.spec
+++ b/aewm.spec
@@ -1,54 +1,45 @@
 Summary:       AEWM - the ascetic window manager
 Summary(pl):   AEWM - "ascetyczny" menad¿er okien
 Name:          aewm
-Version:       0.9.6
-Release:       1
-Copyright:     Freely distributable
+Version:       1.2.0
+Release:       2
+License:       MIT
 Group:         X11/Window Managers
-Group(pl):     X11/Zarz±dcy Okien
-Source:                http://members.home.com/decklin/%name/%{name}-%{version}.tar.gz
-Source1:       aewm.desktop
-Patch0:                aewm-Makefile.patch
-URL:           http://members.home.com/decklin/aewm/
+Source0:       http://www.red-bean.com/~decklin/aewm/%{name}-%{version}.tar.gz
+Source1:       %{name}.desktop
+URL:           http://www.red-bean.com/%7Edecklin/aewm/
 BuildRequires: gtk+-devel
 BuildRequires: glibc-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define        _prefix /usr/X11R6
-%define        _mandir /usr/X11R6/man
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
+%define                _wmpropsdir     %{_datadir}/wm-properties
 
 %description
-aewm is a minimal window manager for X11. 
+aewm is a minimal window manager for X11.
 
 %description -l pl
-aewm jet minimalnym menad¿erem okien dla X11. Nie potrafi obs³ugiwaæ ikon,
-wielu sesji, tematów, t³a itp. Nie jest zbyt configurowa³ny.
+aewm jet minimalnym menad¿erem okien dla X11. Nie potrafi obs³ugiwaæ
+ikon, wielu sesji, tematów, t³a itp. Nie jest zbyt konfigurowalny.
 
 Jego zalet± jest prostota i szybko¶æ.
 
 %prep
 %setup -q
 
-%patch0
-
 %build
-make
-make -C goodies
+%{__make} CFLAGS="%{rpmcflags}"
 
-gzip -9 README
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}/bin
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
-install -d $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_wmpropsdir}}
 
-make install XROOT=$RPM_BUILD_ROOT%{_prefix}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-(cd goodies;install -s {xaw,gtk}-{panel,palette,switch} $RPM_BUILD_ROOT/%{_prefix}/bin)
-(cd goodies; install -s gtk-palette2 $RPM_BUILD_ROOT%{_prefix}/bin)
+install %{SOURCE1} $RPM_BUILD_ROOT/%{_wmpropsdir}
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
+gzip -9nf README ChangeLog
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,7 +47,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.gz
-%attr(755,root,root) %{_bindir}/aewm
-%attr(755,root,root) %{_bindir}/xaw-*
-%attr(755,root,root) %{_bindir}/gtk-*
-%{_datadir}/gnome/wm-properties/aewm.desktop
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+%{_wmpropsdir}/*
This page took 0.081685 seconds and 4 git commands to generate.