/[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 113615 - (show annotations) (download)
Sat Jun 25 12:43:34 2011 UTC (12 years, 9 months ago) by julien
File size: 1062 byte(s)
 - update to version 0.8.8
 - cleanup spec file


1 %define name compiz-bcop
2 %define shortname bcop
3 %define version 0.8.8
4 %define rel 1
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.compiz.org/
23 Source: %{srcname}
24 License: GPLv2+
25 BuildRequires: libxslt-devel
26 Requires: libxslt-proc
27
28 %description
29 BCOP: Compiz Fusion plugin build utility
30
31 %files
32 %defattr(-,root,root)
33 %{_bindir}/%{shortname}
34 %dir %{_datadir}/%{shortname}
35 %{_datadir}/%{shortname}/%{shortname}.xslt
36 %{_datadir}/pkgconfig/%{shortname}.pc
37
38 %prep
39 %setup -q -n %{distname}
40
41 %build
42 %if %{git}
43 # This is a CVS snapshot, so we need to generate makefiles.
44 sh autogen.sh -V
45 %endif
46 %configure
47 %make
48
49 %install
50 %__rm -rf %{buildroot}
51 %makeinstall_std
52
53 %clean
54 %__rm -rf %{buildroot}
55
56
57

  ViewVC Help
Powered by ViewVC 1.1.30