summaryrefslogtreecommitdiff
path: root/compiz-bcop.spec
blob: e44b56001673ce327bcfc43695ca2b1a48cacb31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Summary:	Compiz option code generator
Summary(pl.UTF-8):	Generator kodu opcji Compiza
Name:		compiz-bcop
Version:	0.8.4
Release:	1
License:	GPL v2+
Group:		Development/Tools
Source0:	http://releases.compiz.org/%{version}/%{name}-%{version}.tar.bz2
# Source0-md5:	17c4d1de361acf835f6649ab392f4c62
URL:		http://www.compiz.org/
BuildRequires:	autoconf >= 2.57
BuildRequires:	automake >= 1:1.9
# only for configure check
BuildRequires:	libxslt-devel
BuildRequires:	pkgconfig
Requires:	/usr/bin/getopt
# xsltproc
Requires:	libxslt-progs
Requires:	pkgconfig >= 1:0.19
BuildArch:	noarch
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define		_noarchpkgconfigdir	%{_datadir}/pkgconfig

%description
BCOP is a code generator that provides an easy way to handle plugin
options by generating parts of the plugin code directly from the XML
metadata file. It is used for most of the Compiz Fusion plugins.

%description -l pl.UTF-8
BCOP jest generatorem kodu, który pozwala na łatwą obsługę opcji
wtyczek poprzez generowanie części kodu wtyczki bezpośrednio z pliku
XML metadanych. Jest używany przez większość wtyczek Compiz Fusion.

%prep
%setup -q

echo "echo -n %{version}" > VERSION

%build
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}

%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc AUTHORS
%attr(755,root,root) %{_bindir}/bcop
%{_datadir}/bcop
%{_noarchpkgconfigdir}/bcop.pc