/[packages]/cauldron/compiz-bcop/current/SPECS/compiz-bcop.spec
ViewVC logotype

Contents of /cauldron/compiz-bcop/current/SPECS/compiz-bcop.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16555 - (show annotations) (download)
Thu Jan 13 21:20:19 2011 UTC (13 years, 1 month ago) by colin
File size: 1093 byte(s)
imported package compiz-bcop
1 %define shortname bcop
2 %define name compiz-bcop
3 %define version 0.8.4
4 %define rel 3
5 %define git 0
6
7 %if %{git}
8 %define srcname %{shortname}-%{git}.tar.lzma
9 %define distname %{shortname}
10 %define release %mkrel 0.%{git}.%{rel}
11 %else
12 %define srcname %{name}-%{version}.tar.bz2
13 %define distname %{name}-%{version}
14 %define release %mkrel %{rel}
15 %endif
16
17 Name: %name
18 Version: %version
19 Release: %release
20 Summary: BCOP: Compiz Fusion plugin build utility
21 Group: System/X11
22 URL: http://www.go-compiz.org/
23 Source: %{srcname}
24 License: GPL
25 BuildRoot: %{_tmppath}/%{name}-root
26
27 BuildRequires: libxslt-devel
28 Requires: libxslt-proc
29 Obsoletes: %{shortname}
30
31 %description
32 BCOP: Compiz Fusion plugin build utility
33
34 %prep
35 %setup -q -n %{distname}
36
37 %build
38 %if %{git}
39 # This is a CVS snapshot, so we need to generate makefiles.
40 sh autogen.sh -V
41 %endif
42 %configure
43 %make
44
45 %install
46 rm -rf %{buildroot}
47 %makeinstall_std
48
49 %clean
50 rm -rf %{buildroot}
51
52 %files
53 %defattr(-,root,root)
54 %{_bindir}/%{shortname}
55 %dir %{_datadir}/%{shortname}
56 %{_datadir}/%{shortname}/%{shortname}.xslt
57 %{_datadir}/pkgconfig/%{shortname}.pc
58
59

  ViewVC Help
Powered by ViewVC 1.1.30