]>
Commit | Line | Data |
---|---|---|
5de29831 | 1 | Summary: Compiz option code generator |
2 | Summary(pl.UTF-8): Generator kodu opcji Compiza | |
3 | Name: compiz-bcop | |
4a9d1148 | 4 | Version: 0.8.4 |
5de29831 | 5 | Release: 1 |
3313cd43 JB |
6 | License: GPL v2+ |
7 | Group: Development/Tools | |
4a9d1148 | 8 | Source0: http://releases.compiz.org/%{version}/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 17c4d1de361acf835f6649ab392f4c62 | |
10 | URL: http://www.compiz.org/ | |
3313cd43 JB |
11 | BuildRequires: autoconf >= 2.57 |
12 | BuildRequires: automake >= 1:1.9 | |
13 | # only for configure check | |
5de29831 | 14 | BuildRequires: libxslt-devel |
15 | BuildRequires: pkgconfig | |
3313cd43 JB |
16 | Requires: /usr/bin/getopt |
17 | # xsltproc | |
18 | Requires: libxslt-progs | |
19 | Requires: pkgconfig >= 1:0.19 | |
20 | BuildArch: noarch | |
5de29831 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
3313cd43 JB |
23 | %define _noarchpkgconfigdir %{_datadir}/pkgconfig |
24 | ||
5de29831 | 25 | %description |
26 | BCOP is a code generator that provides an easy way to handle plugin | |
3313cd43 | 27 | options by generating parts of the plugin code directly from the XML |
5de29831 | 28 | metadata file. It is used for most of the Compiz Fusion plugins. |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | BCOP jest generatorem kodu, który pozwala na łatwą obsługę opcji | |
32 | wtyczek poprzez generowanie części kodu wtyczki bezpośrednio z pliku | |
3313cd43 | 33 | XML metadanych. Jest używany przez większość wtyczek Compiz Fusion. |
5de29831 | 34 | |
35 | %prep | |
36 | %setup -q | |
5de29831 | 37 | |
38 | echo "echo -n %{version}" > VERSION | |
39 | ||
40 | %build | |
5de29831 | 41 | %{__aclocal} |
42 | %{__autoconf} | |
43 | %{__autoheader} | |
44 | %{__automake} | |
45 | ||
46 | %configure | |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
3313cd43 JB |
51 | |
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
5de29831 | 54 | |
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc AUTHORS | |
3313cd43 | 61 | %attr(755,root,root) %{_bindir}/bcop |
5de29831 | 62 | %{_datadir}/bcop |
3313cd43 | 63 | %{_noarchpkgconfigdir}/bcop.pc |