source: projects/specs/branches/6/g/gnome-compiz-manager/gnome-compiz-manager-vl.spec @ 1897

Revision 1897, 4.7 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

Line 
1Name:           gnome-compiz-manager
2Version:        0.10.4
3Release:        2%{?_dist_release}
4Summary:        Compiz configuration utility
5Summary(ja):    Compiz ÀßÄê¥æ¡¼¥Æ¥£¥ê¥Æ¥£
6
7Group:          User Interface/Desktops
8License:        GPL
9URL:            http://gandalfn.wordpress.com/gnome-compiz-manager/
10Source0:        http://download.gna.org/gcm/gnome-compiz-manager/gnome-compiz-manager-%{version}.tar.gz
11Source1:        desktop.png
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13
14BuildRequires:  intltool
15BuildRequires:  GConf2
16BuildRequires:  pkgconfig
17BuildRequires:  libglade2-devel
18BuildRequires:  libwnck-devel
19BuildRequires:  libgnomeui-devel
20BuildRequires:  libgnome-devel
21BuildRequires:  gnome-desktop-devel
22BuildRequires:  librsvg2-devel
23BuildRequires:  gob2
24BuildRequires:  gettext
25BuildRequires:  desktop-file-utils
26BuildRequires:  libSM-devel
27Requires(post): /sbin/ldconfig
28Requires(postun): /sbin/ldconfig
29Requires(pre): GConf2
30Requires(post): GConf2
31Requires(preun): GConf2
32
33
34%description
35Gnome compiz manager is small utility, which manages GL Desktop configurations
36on XGL/AiGLX. It is composed of two applications :
37
38- compiz-tray-icon : which launches and stops compiz
39- gnome-compiz-preferences : which adjusts GL effects
40
41The goal is not to expose all compiz options but allow a simple
42configuration of compiz.
43
44%package devel
45Summary:  Development files for gnome-compiz-manager
46Summary(ja):  gnome-compiz-manager ¤Î³«È¯¥Õ¥¡¥¤¥ë
47Group:    Development/Libraries
48Requires: %{name} = %{version}-%{release}
49Requires: pkgconfig
50%description devel
51Development files for gnome-compiz-manager
52
53%prep
54%setup -q
55
56cp %{SOURCE1} data
57
58%build
59%configure --disable-rpath
60sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
61sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
62make %{?_smp_mflags}
63
64
65%install
66rm -rf $RPM_BUILD_ROOT
67export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
68make install DESTDIR=$RPM_BUILD_ROOT
69desktop-file-install --vendor="fedora"                          \
70        --delete-original                                       \
71        --dir=${RPM_BUILD_ROOT}%{_datadir}/applications         \
72        $RPM_BUILD_ROOT%{_datadir}/applications/gnome-compiz-preferences.desktop
73rm $RPM_BUILD_ROOT/%{_libdir}/*.la
74rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
75# kill static libs
76rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.a
77rm $RPM_BUILD_ROOT/%{_libdir}/*.a
78# empty
79rm $RPM_BUILD_ROOT/%{_docdir}/%{name}/README
80
81%find_lang %{name}
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%pre
87if [ "$1" -gt 1 ]; then
88export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
89gconftool-2 --makefile-uninstall-rule \
90  %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas >/dev/null || :
91# If the schema file has ever been renamed::
92#gconftool-2 --makefile-uninstall-rule \
93#  %{_sysconfdir}/gconf/schemas/[OLDNAME].schemas > /dev/null || :
94killall -HUP gconfd-2 &> /dev/null || :
95fi
96
97%post
98/sbin/ldconfig
99export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
100gconftool-2 --makefile-install-rule \
101  %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas > /dev/null || :
102  killall -HUP gconfd-2 &> /dev/null || :
103 
104%preun
105if [ "$1" -eq 0 ]; then
106export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
107gconftool-2 --makefile-uninstall-rule \
108%{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas > /dev/null || :
109killall -HUP gconfd-2 &> /dev/null || :
110fi
111
112%postun -p /sbin/ldconfig
113
114%files -f %{name}.lang
115%defattr(-,root,root,-)
116%doc %{_docdir}/*
117%{_bindir}/*
118%{_mandir}/*/*
119%{_sysconfdir}/gconf/schemas/*
120%{_libdir}/*.so.*
121%dir %{_libdir}/%{name}/
122%{_libdir}/%{name}/*.so
123%{_libdir}/%{name}/*.plugin
124%{_datadir}/%{name}
125%{_datadir}/applications/*
126
127%files devel
128%defattr(-,root,root,-)
129%{_includedir}/%{name}/
130%{_libdir}/*.so
131%{_libdir}/pkgconfig/*
132
133%changelog
134* Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.4-2
135- rebuild with rpm-4.8.1 for pkg-config file
136- add BuildRequires: libSM-devel
137
138* Sat May 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.4-1
139- initial build for Vine Linux
140
141* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.10.4-4
142- Autorebuild for GCC 4.3
143
144* Sun Dec  9 2007 Denis Leroy <denis@poolshark.org> - 0.10.4-3
145- Fix duplicate desktop entries
146- Made gconf killall silent
147
148* Fri Oct 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.4-2
149- Don't ship Ubuntu branding
150
151* Sat Jul 14 2007 John Mahowald <jpmahowald@gmail.com> - 0.10.4-1
152- 0.10.4
153
154* Wed May 23 2007 John Mahowald <jpmahowald@gmail.com> - 0.9.14-1
155- 0.9.14
156
157* Tue Nov 28 2006 John Mahowald <jpmahowald@gmail.com> - 0.9.13.1-1
158- 0.9.13.1
159- dropped upstreamed libdir patch
160
161* Thu Nov 16 2006 John Mahowald <jpmahowald@gmail.com> - 0.9.10-1
162- initial rpm
Note: See TracBrowser for help on using the repository browser.