]> git.pld-linux.org Git - packages/fvwm-themes-base.git/blob - fvwm-themes-base.spec
- added Source0 URL and pl translation, partially fixed
[packages/fvwm-themes-base.git] / fvwm-themes-base.spec
1 Summary:        FVWM Themes, configuration framework for FVWM
2 Summary(pl):    FVWM Themes - szkielet konfiguracji dla FVWM
3 Name:           fvwm-themes-base
4 Version:        0.6.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Window Managers
8 Source0:        http://telia.dl.sourceforge.net/sourceforge/fvwm-themes/%{name}-%{version}.tar.gz
9 Source1:        %{name}-rpm-wa.tar.gz
10 Source2:        %{name}-install-menu-system.sh
11 URL:            http://fvwm-themes.sourceforge.org/
12 Autoreq:        1
13 Requires:       perl >= 5.004
14 Requires:       m4
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18 %define         _mandir         %{_prefix}/man
19
20 %description
21 FVWM Themes is a powerful configuration framework for FVWM, designed
22 to be easily extensible and configurable, includes several pre-built
23 themes, a pack of images and sounds.
24
25 This base package contains the theme engine and utilities as well as 8
26 themes.
27
28 %description -l fr
29 FVWM Themes est un système de configuration puissant pour FVWM. Il est
30 extansible, facilement configurable et contient des thèmes, des images
31 et des fichiers sons.
32
33 Le paquet main contient le moteur et des utilitaires ainsi que 8
34 thèmes.
35
36 %description -l pl
37 FVWM Themes to potê¿ny szkielet konfiguracji dla FVWM, stworzony tak,
38 by byæ ³atwo rozszerzalnym i konfigurowalnym. Zawiera kilka
39 predefiniowanych motywów, zestaw obrazków i d¼wiêków.
40
41 Ten podstawowy pakiet zawiera silnik motywów i narzêdzia oraz 8
42 motywów.
43
44 %description -l ru
45 FVWM Themes Ñ×ÌÑÅÔÓÑ ÍÏÝÎÙÍ ÏËÒÕÖÅÎÉÅÍ ÄÌÑ ÏËÏÎÎÏÇÏ ÍÅÎÅÄÖÅÒÁ FVWM.
46 ÓÐÒÏÅËÔÉÒÏ×ÁÎÎÙÍ Ó ÕÞÅÔÏÍ ÌÅÇËÏÓÔÉ ÒÁÓÛÉÒÅÎÉÑ É ËÏÎÆÉÇÕÒÁÃÉÉ. ðÁËÅÔ
47 ×ËÌÀÞÁÅÔ × ÓÅÂÑ ÇÏÔÏ×ÙÅ ÔÅÍÙ, ÇÒÁÆÉÞÅÓËÉÅ É Ú×ÕËÏ×ÙÅ ÆÁÊÌÙ.
48
49 äÁÎÎÙÊ ÂÁÚÏ×ÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÅ ÕÔÉÌÉÔÙ ÄÌÑ
50 ×ÓÅ×ÏÚÍÏÖÎÙÈ ÍÁÎÉÐÕÌÑÃÉÊ Ó ÔÅÍÁÍÉ É 8 ÔÅÍ.
51
52 %prep
53 %setup -q
54
55 %build
56 ./configure --prefix=%{_prefix} \
57         --disable-run-updatemenu \
58         --disable-build-menus \
59         --disable-menu-system \
60         --with-fvwm-bindir=%{_bindir}
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} ROOT_PREFIX=$RPM_BUILD_ROOT install
66
67 # menu-methode stuff
68 install -d $RPM_BUILD_ROOT%{_datadir}/fvwm/menu-system
69 cp -f %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fvwm/menu-system/
70 cp -f %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/fvwm/menu-system/
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS COPYING INSTALL NEWS README TODO
78 %doc doc/FAQ doc/README.1st doc/colorsets doc/creating-themes
79 %doc doc/fvwm-themes.lsm
80 %{_bindir}/*
81 %{_mandir}/*/*
82 %{_datadir}/*/*
83
84 %post
85 [ -x %{_bindir}/fvwm-themes-menuapp ] && %{_bindir}/fvwm-themes-menuapp --site --build-menus --remove-popup || true
86 sh %{_datadir}/fvwm/menu-system/install-menu-system.sh Install
87 echo ""
88 echo "    If you are running fvwm-themes now, to avoid problems choose"
89 echo "    'Reset all to the default' from the Theme Management menu."
90 echo ""
91
92 %preun
93 [ -f %{_datadir}/fvwm/menu-system/install-menu-system.sh ] && sh %{_datadir}/fvwm/menu-system/install-menu-system.sh Uninstall || true
94
95 ## TODO: how to specify the current date in .spec? Or how to run a `command`?
96 #%changelog
97 #
98 #* Tue 23 Oct 2001 18:52:00 UTC  olicha  <olivier.chapuis@free.fr>
99 #- added a way to handle the debian menu system on any system
100 #
101 #* Thu 07 Sep 2000 20:00:00 IDT  FVWM Themes Developers  <fvwm-themes-devel@lists.sourceforge.net>
102 #- Auto building %{PACKAGE_VERSION}
103 #
104 #* Thu 07 Sep 2000 20:00:00 IDT  Mikhael Goikhman  <migo@homemail.com>
105 #- First try at making the package
This page took 0.109156 seconds and 3 git commands to generate.