source: trunk/third/acme/acme.spec @ 18822

Revision 18822, 1.7 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18821, which included commits to RCS files with non-trunk default branches.
Line 
1Summary:        ACME the Versatile Keyboard daemon
2Name:           acme
3Version:        2.0.2
4Release:        1
5
6Group:          System Environment/Daemons
7License:        GPL
8URL:            http://www.hadess.net/misc-code.php3
9Source:         %{name}-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-root
11
12Requires:       libgnomeui >= 2.0.0
13Requires:       libglade2 >= 2.0.0
14BuildRequires:  libgnomeui-devel >= 2.0.0
15BuildRequires:  libglade2-devel >= 2.0.0
16BuildRequires:  gob2
17
18%description
19ACME is a small GNOME tool to make use of the multimedia buttons present on
20most laptops and internet keyboards: Volume, Brightness, Power, Eject, My Home,
21Search, E-Mail, Sleep, Screensaver, Finance and Help buttons.
22%prep
23%setup -q
24
25%build
26if [ ! -f configure ]; then
27  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=/usr --enable-shared
28else
29  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --enable-shared
30fi
31
32export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
33make
34
35%install
36[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
37
38%makeinstall
39
40%clean
41[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
42
43%post
44export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
45gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/acme.schemas > /dev/null
46
47%postun
48/sbin/ldconfig
49
50%files
51%defattr(644,root,root,755)
52%attr(755,root,root) %{_bindir}/*
53%{_datadir}/acme/*
54%{_datadir}/control-center-2.0/capplets/*
55%{_datadir}/locale/*/*/*
56%{_sysconfdir}/gconf/schemas/acme.schemas
57
58%changelog
59* Thu Oct 31 2002 Thomas Vander Stichele <thomas at apestaart dot org>
60- fix requires and buildrequires
61
62* Mon Sep 23 2002 Bastien Nocera <hadess@hadess.net>
63- More hacking
64
65* Mon Sep 23 2002 Christian Fredrik Kalager Schaller <Uraeus@linuxrising.org>
66- First attempt at SPEC
Note: See TracBrowser for help on using the repository browser.