source: projects/specs/trunk/e/emerald/emerald-vl.spec @ 4616

Revision 4616, 5.6 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

Line 
1Name:           emerald
2Url:            http://www.compiz-fusion.org/
3License:        GPLv2
4Group:          User Interface/Desktops
5Version:        0.8.8
6Release:        1%{?_dist_release}
7
8Summary:        Themeable window decorator and compositing manager for Compiz Fusion
9BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10Source0:        http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
11
12Patch0:         05_build_without_gtk_disable_deprecated.patch
13
14# libdrm is not available on these arches
15ExcludeArch:    s390 s390x
16# no compiz-devel available
17ExcludeArch:    ppc64
18
19Requires:       compiz
20
21BuildRequires:  libXres-devel
22BuildRequires:  compiz-devel >= %{version}
23BuildRequires:  libwnck-devel, gtk2-devel
24BuildRequires:  intltool, desktop-file-utils
25BuildRequires:  perl(XML::Parser), gettext
26
27Vendor: Project Vine
28Distribution: Vine Linux
29
30%description
31Emerald is themeable window decorator and compositing
32manager for Compiz.
33
34
35%package devel
36Summary: Development files for emerald
37Summary(ja): Development files for emerald
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Requires: pkgconfig
41
42%description devel
43The emerald-devel package provides development files
44for emerald, the themeable window decorator for Compiz.
45
46
47%prep
48%setup -q
49%patch0 -p1
50# Death to rpaths...
51perl -pi -e 's|hardcode_into_libs=.*|hardcode_into_libs=no|g' configure
52perl -pi -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' configure
53perl -pi -e 's|runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' configure
54
55
56%build
57%configure --enable-librsvg --disable-mime-update
58make %{?_smp_mflags}
59
60
61%install
62rm -rf $RPM_BUILD_ROOT
63make DESTDIR=$RPM_BUILD_ROOT install
64find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
65desktop-file-install --vendor "" --delete-original \
66  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
67  $RPM_BUILD_ROOT%{_datadir}/applications/emerald-theme-manager.desktop
68
69%find_lang %{name}
70
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75
76%post
77/sbin/ldconfig
78update-mime-database %{_datadir}/mime &>/dev/null || :
79update-desktop-database %{_datadir}/applications &> /dev/null || :
80
81%postun
82/sbin/ldconfig
83update-mime-database %{_datadir}/mime &>/dev/null || :
84update-desktop-database %{_datadir}/applications &> /dev/null || :
85
86%files -f %{name}.lang
87%defattr(-,root,root,-)
88%doc COPYING
89%{_bindir}/*
90%{_datadir}/pixmaps/*
91%dir %{_libdir}/emerald
92%{_libdir}/emerald/*
93%{_libdir}/libemeraldengine.so.*
94%dir %{_datadir}/emerald
95%dir %{_datadir}/emerald/theme
96%{_datadir}/emerald/theme/*
97%{_datadir}/emerald/settings.ini
98%{_datadir}/applications/*
99%{_datadir}/mime-info/*
100%{_datadir}/mime/packages/*
101%{_datadir}/icons/hicolor/48x48/mimetypes/*
102%{_mandir}/man1/*.1*
103
104%files devel
105%defattr(-,root,root,-)
106%{_includedir}/*
107%{_libdir}/pkgconfig/*.pc
108%{_libdir}/libemeraldengine.so
109
110%changelog
111* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.8-1
112- new upstream release
113
114* Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1
115- update to 0.8.4
116- add Patch0 (05_build_without_gtk_disable_deprecated.patch)
117
118* Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
119- new upstream release
120
121* Sun May 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.8-2
122- added BuildRequires: libXres-devel
123- corrected emerald-theme-manager.desktop
124
125* Wed Oct 15 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
126- new upstream release
127
128* Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
129- initial build for Vine Linux
130
131* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.2-4
132- Autorebuild for GCC 4.3
133
134* Fri Jan 04 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-3
135- Fix gcc43 build
136
137* Mon Oct 08 2007 Jarod Wilson <jwilson@redhat.com> 0.5.2-2
138- Disable ppc64 build (no compiz-devel.ppc64)
139
140* Mon Oct 08 2007 Jarod Wilson <jwilson@redhat.com> 0.5.2-1
141- New upstream release
142- Should work with latest compiz bits in Fedora
143
144* Mon Jun 11 2007 Jarod Wilson <jwilson@redhat.com> 0.2.1-2
145- Fix up build against latest libwnck
146
147* Mon Jun 04 2007 Jarod Wilson <jwilson@redhat.com> 0.2.1-1
148- beryl 0.2.1
149
150* Thu Mar 15 2007 Jarod Wilson <jwilson@redhat.com> 0.2.0-1
151- beryl 0.2.0
152
153* Tue Feb 20 2007 Jarod Wilson <jwilson@redhat.com> 0.1.9999.2-1
154- beryl 0.1.9999.2 (aka 0.2.0-rc2)
155
156* Mon Feb 05 2007 Jarod Wilson <jwilson@redhat.com> 0.1.9999.1-1
157- beryl 0.1.9999.1 (aka 0.2.0-rc1)
158
159* Mon Jan 29 2007 Jarod Wilson <jwilson@redhat.com> 0.1.99.2-1
160- New upstream release
161
162* Tue Jan 02 2007 Jarod Wilson <jwilson@redhat.com> 0.1.4-1
163- New upstream release
164
165* Wed Dec 13 2006 Jarod Wilson <jwilson@redhat.com> 0.1.3-2
166- Add necessary BR for freshly-added translations
167
168* Tue Dec 12 2006 Jarod Wilson <jwilson@redhat.com> 0.1.3-1
169- New upstream release
170
171* Thu Nov 16 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-4
172- Trim BR:
173
174* Wed Nov 15 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-3
175- Kill rpaths
176
177* Tue Nov 14 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-2
178- Use upstream tarball, now that there is one
179
180* Fri Nov 10 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-1
181- New upstream release
182
183* Tue Oct 31 2006 Jarod Wilson <jwilson@redhat.com> 0.1.1-2
184- Add missing BR: libtool, gettext-devel, libwnck-devel,
185  libXdamage, libXcomposite
186
187* Thu Oct 26 2006 Jarod Wilson <jwilson@redhat.com> 0.1.1-1
188- New upstream release
189- Require beryl-core of at least the same version
190- Move autoreconf bits to prep section
191
192* Thu Oct 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.0-3
193- Really fix the duplicate menu entries this time
194
195* Thu Oct 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.0-2
196- Fix duplicate menu entries
197
198* Tue Oct 03 2006 Jarod Wilson <jwilson@redhat.com> 0.1.0-1
199- Initial Fedora build
Note: See TracBrowser for help on using the repository browser.