source: projects/specs/trunk/g/gnome-compiz-manager/gnome-compiz-manager-vl.spec @ 9327

Revision 9327, 4.9 KB checked in by inagaki, 9 years ago (diff)

2015-02-04 Ryoichi INAGAKI <ryo1@…>

  • freealut: rebuilt
  • gnome-compiz-manager: fixed spec encoding
  • iverilog: updated


Line 
1Name:           gnome-compiz-manager
2Version:        0.10.4
3Release:        3%{?_dist_release}
4Summary:        Compiz configuration utility
5Summary(ja):    Compiz 設定ユーティリティ
6
7Group:          User Interface/Desktops
8License:        GPLv2 and LGPLv2
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 >= 2.0.14
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
51%description devel
52Development files for gnome-compiz-manager
53
54%prep
55%setup -q
56
57cp %{SOURCE1} data
58
59%build
60%configure --disable-rpath --disable-static
61sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
62sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
63make %{?_smp_mflags}
64
65
66%install
67rm -rf $RPM_BUILD_ROOT
68export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
69make install DESTDIR=$RPM_BUILD_ROOT
70desktop-file-install --vendor="fedora"                          \
71        --delete-original                                       \
72        --dir=${RPM_BUILD_ROOT}%{_datadir}/applications         \
73        $RPM_BUILD_ROOT%{_datadir}/applications/gnome-compiz-preferences.desktop
74
75rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
76rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
77
78# documents will be gathered manually at %files section
79rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
80
81%find_lang %{name}
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%pre
87if [ "$1" -gt 1 ]; then
88    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
89    gconftool-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 || :
94    killall -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 || :
102killall -HUP gconfd-2 &> /dev/null || :
103 
104%preun
105if [ "$1" -eq 0 ]; then
106    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
107    gconftool-2 --makefile-uninstall-rule \
108                %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas > /dev/null || :
109    killall -HUP gconfd-2 &> /dev/null || :
110fi
111
112%postun -p /sbin/ldconfig
113
114%files -f %{name}.lang
115%defattr(-,root,root,-)
116%doc AUTHORS COPYING* ChangeLog INSTALL NEWS
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* Tue Feb  3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.4-3
135- rebuilt on current VineSeed
136- fixed spec encoding to UTF-8 (BTS #2784)
137                               
138* Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.4-2
139- rebuild with rpm-4.8.1 for pkg-config file
140- add BuildRequires: libSM-devel
141
142* Sat May 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.4-1
143- initial build for Vine Linux
144
145* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.10.4-4
146- Autorebuild for GCC 4.3
147
148* Sun Dec  9 2007 Denis Leroy <denis@poolshark.org> - 0.10.4-3
149- Fix duplicate desktop entries
150- Made gconf killall silent
151
152* Fri Oct 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.4-2
153- Don't ship Ubuntu branding
154
155* Sat Jul 14 2007 John Mahowald <jpmahowald@gmail.com> - 0.10.4-1
156- 0.10.4
157
158* Wed May 23 2007 John Mahowald <jpmahowald@gmail.com> - 0.9.14-1
159- 0.9.14
160
161* Tue Nov 28 2006 John Mahowald <jpmahowald@gmail.com> - 0.9.13.1-1
162- 0.9.13.1
163- dropped upstreamed libdir patch
164
165* Thu Nov 16 2006 John Mahowald <jpmahowald@gmail.com> - 0.9.10-1
166- initial rpm
Note: See TracBrowser for help on using the repository browser.