]> git.pld-linux.org Git - packages/fvwm-themes-base.git/blob - fvwm-themes-base.spec
- place # SourceN-md5: just after SourceN:
[packages/fvwm-themes-base.git] / fvwm-themes-base.spec
1 Summary:        FVWM Themes, configuration framework for FVWM
2 Summary(pl.UTF-8):      FVWM Themes - szkielet konfiguracji dla FVWM
3 Name:           fvwm-themes-base
4 Version:        0.6.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Window Managers
8 Source0:        http://dl.sourceforge.net/fvwm-themes/%{name}-%{version}.tar.gz
9 # Source0-md5:  6133bb363bab6d0ce544fa17bc267e6f
10 Source1:        %{name}-rpm-wa.tar.gz
11 # Source1-md5:  cd15c2d62f8518769ecbf9f16383de30
12 Source2:        %{name}-install-menu-system.sh
13 Patch0:         %{name}-DESTDIR.patch
14 URL:            http://fvwm-themes.sourceforge.org/
15 BuildRequires:  XFree86-tools
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  fvwm2
19 BuildRequires:  gnome-core
20 BuildRequires:  /usr/bin/perl
21 Requires:       m4
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 FVWM Themes is a powerful configuration framework for FVWM, designed
26 to be easily extensible and configurable, includes several pre-built
27 themes, a pack of images and sounds.
28
29 This base package contains the theme engine and utilities as well as 8
30 themes.
31
32 %description -l fr.UTF-8
33 FVWM Themes est un système de configuration puissant pour FVWM. Il est
34 extansible, facilement configurable et contient des thèmes, des images
35 et des fichiers sons.
36
37 Le paquet main contient le moteur et des utilitaires ainsi que 8
38 thèmes.
39
40 %description -l pl.UTF-8
41 FVWM Themes to potężny szkielet konfiguracji dla FVWM, stworzony tak,
42 by być łatwo rozszerzalnym i konfigurowalnym. Zawiera kilka
43 predefiniowanych motywów, zestaw obrazków i dźwięków.
44
45 Ten podstawowy pakiet zawiera silnik motywów i narzędzia oraz 8
46 motywów.
47
48 %description -l ru.UTF-8
49 FVWM Themes является мощным окружением для оконного менеджера FVWM.
50 спроектированным с учетом легкости расширения и конфигурации. Пакет
51 включает в себя готовые темы, графические и звуковые файлы.
52
53 Данный базовый пакет содержит конфигурационные утилиты для
54 всевозможных манипуляций с темами и 8 тем.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59
60 %build
61 %{__aclocal}
62 %{__autoconf}
63 %{__automake}
64 %configure \
65         --disable-run-updatemenu \
66         --disable-build-menus \
67         --disable-menu-system \
68         --with-fvwm-bindir=%{_bindir}
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 # menu-methode stuff
79 install -d $RPM_BUILD_ROOT%{_datadir}/fvwm/menu-system
80 cp -f %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fvwm/menu-system
81 cp -f %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/fvwm/menu-system
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post
87 [ -x %{_bindir}/fvwm-themes-menuapp ] && %{_bindir}/fvwm-themes-menuapp --site --build-menus --remove-popup || true
88 sh %{_datadir}/fvwm/menu-system/install-menu-system.sh Install
89 echo ""
90 echo "    If you are running fvwm-themes now, to avoid problems choose"
91 echo "    'Reset all to the default' from the Theme Management menu."
92 echo ""
93
94 %preun
95 [ -f %{_datadir}/fvwm/menu-system/install-menu-system.sh ] && sh %{_datadir}/fvwm/menu-system/install-menu-system.sh Uninstall || true
96
97 %files
98 %defattr(644,root,root,755)
99 # COPYING is a short note, doesn't contain full GPL text
100 %doc AUTHORS COPYING INSTALL NEWS README TODO
101 %doc doc/FAQ doc/README.1st doc/colorsets doc/creating-themes
102 %attr(755,root,root) %{_bindir}/*
103 %{_mandir}/man?/*
104 %{_datadir}/fvwm/images
105 %dir %{_datadir}/fvwm/locale
106 %{_datadir}/fvwm/locale/en
107 %lang(fr) %{_datadir}/fvwm/locale/fr
108 %lang(ja) %{_datadir}/fvwm/locale/ja
109 %lang(ru) %{_datadir}/fvwm/locale/ru
110 %{_datadir}/fvwm/menu-system
111 %{_datadir}/fvwm/sounds
112 %{_datadir}/fvwm/themes
113 %{_datadir}/fvwm/Fvwm*
This page took 0.069147 seconds and 3 git commands to generate.