]> git.pld-linux.org Git - packages/blackbox.git/blobdiff - blackbox.spec
- new Source url and URL.
[packages/blackbox.git] / blackbox.spec
index 3f1b1e718af1a18d0d30cefc1210fe865a14b7c6..6c2800d578c72cb2f244265d573fd98e6311549b 100644 (file)
@@ -1,79 +1,73 @@
-Summary:     Very small and fast window manger for the X-Windows.
-Summary(pl): Ma³y i szybki menad¿er okien dla X-Windows.
-Name:        blackbox
-Version:     0.40.13
-Release:     1
-URL:         http://linux.wiw.org/blackbox/
-Copyright:   GPL-2.0
-Group:       X11/Window Managers
-Vendor:      Brad Hughes <bhughes@arn.net>
-Source:      http://linux.wiw.org/blackbox/sources/%{name}-%{version}.tar.bz2
-Buildroot:   /tmp/%{name}-%{version}-root
+Summary:       Very small and fast window manger for the X Window
+Summary(pl):   Ma³y i szybki menad¿er okien dla X Window
+Name:          blackbox
+Version:       0.62.0
+Release:       1
+License:       GPL
+Group:         X11/Window Managers
+Group(de):     X11/Fenstermanager
+Group(pl):     X11/Zarz±dcy Okien
+Vendor:                Brad Hughes <blackbox@alug.org>
+Source0:       http://prdownloads.sourceforge.net/blackboxwm/%{name}-%{version}.tar.gz
+Source1:       %{name}.desktop
+Patch0:                %{name}-am_fixes.patch
+URL:           http://blackboxwm.sourceforge.net/
+BuildRequires: XFree86-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
+%define                _sysconfdir     /etc/X11/%{name}
 
 %description
-Blackbox is a window manager for the X Window environment, which is almost
-completely compliant with ICCCM specified operation policies. It features
-nice and fast interface with multiple workspaces and simple menus. Fast
-built-in graphics code that can render solids, gradients and bevels is used
-to draw window decorations. Remaining small in size, blackbox preserves
-memory and CPU.                                                       
+Blackbox is a window manager for the X Window environment, which is
+almost completely compliant with ICCCM specified operation policies.
+It features nice and fast interface with multiple workspaces and
+simple menus. Fast built-in graphics code that can render solids,
+gradients and bevels is used to draw window decorations. Remaining
+small in size, blackbox preserves memory and CPU.
 
 %description -l pl
-Blackbox jest mened¿erem okien dla X Window spe³niaj±cym prawie wszystkie
-zalecenia ICCM. Jego zalet± jest estetyczny i szybki interfejs z wieloma
-pulpitami i prostym menu. Wbudowano weñ tak¿e algorytm rysowania dekoracji
-okien, które mog± byæ jednokolorowe, gradientowe lub trójwymiarowe.
-Blackbox oszczêdza pamiêæ i czas CPU.                           
+Blackbox jest mened¿erem okien dla X Window spe³niaj±cym prawie
+wszystkie zalecenia ICCM. Jego zalet± jest estetyczny i szybki
+interfejs z wieloma pulpitami i prostym menu. Wbudowano weñ tak¿e
+algorytm rysowania dekoracji okien, które mog± byæ jednokolorowe,
+gradientowe lub trójwymiarowe. Blackbox oszczêdza pamiêæ i czas CPU.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure --prefix=/usr/X11R6
-make
+aclocal
+autoconf
+automake -a -c
+%configure
+%{__make} CXX="%{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults
-make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644, root, root, 755)
-%doc README ChangeLog
-%attr(755, root, root) /usr/X11R6/bin/blackbox
-%dir /usr/X11R6/share/Blackbox
-%config(noreplace) %verify(not size md5 mtime) /usr/X11R6/share/Blackbox/*
-
-%changelog
-* Thu Nov  5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.40.12-1]
-- changelog Changed to ChangeLog in %doc,
-- files in /usr/X11R6/share/Blackbox/ makked as %config with
-  %verify(not size md5 mtime),
-- removed /usr/X11R6/lib/X11/app-defaults/* from %files.
+install -d $RPM_BUILD_ROOT%{_datadir}/wm-properties
 
-* Mon Nov  2 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.40.11-1]
-- updated for using new autoconf scheme (instead old Imake).
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-* Sun Sep 27 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
-  [0.40.7-2]
-- rewritten %descriptions,
-- removed INSTALL-file from %doc.
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/wm-properties/
 
-* Fri Sep 25 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
-  [0.40.7-1]
-- added -q in %setup,
-- added pl translation.
+gzip -9nf README* ChangeLog
 
-* Sun Aug 23 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
-  [0.40.4-1]
-- removed old log enteries.
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-* Thu Aug 13 1998 Maciej Lesniewski <nimir@kis.p.lodz.pl>
-  [0.40.3-1]
-- aew version
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
+%dir %{_sysconfdir}
+%dir %{_datadir}/blackbox
+%{_datadir}/blackbox/styles/*
+%{_datadir}/blackbox/nls/*
+%{_datadir}/wm-properties/blackbox.desktop
+%{_mandir}/man1/*
+%{_sysconfdir}/menu
This page took 0.109216 seconds and 4 git commands to generate.