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

Revision 521, 5.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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