1 | %global xfceversion 4.8 |
---|
2 | |
---|
3 | Name: libxfce4ui |
---|
4 | Summary: Commonly used Xfce widgets |
---|
5 | Version: 4.8.0 |
---|
6 | Release: 6%{?_dist_release} |
---|
7 | |
---|
8 | Group: System Environment/Libraries |
---|
9 | License: LGPLv2+ |
---|
10 | URL: http://xfce.org/ |
---|
11 | |
---|
12 | Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2 |
---|
13 | Patch0: libxfce4ui-4.7.6-keyboard-shortcuts.patch |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: gettext |
---|
17 | BuildRequires: glib2-devel >= 2.12.0 |
---|
18 | BuildRequires: gtk-doc |
---|
19 | BuildRequires: gtk2-devel >= 2.12.0 |
---|
20 | BuildRequires: intltool |
---|
21 | BuildRequires: libSM-devel |
---|
22 | BuildRequires: libxfce4util-devel >= %{xfceversion} |
---|
23 | BuildRequires: startup-notification-devel >= 0.4 |
---|
24 | BuildRequires: xfconf-devel >= %{xfceversion} |
---|
25 | # FIXME: Enable libglade again one day |
---|
26 | #BuildRequires: glade3-libgladeui-devel >= 3.5.0 |
---|
27 | # FIXME: obsolete libxfcegui4 one day |
---|
28 | #Provides: libxfcegui4 = %{version} |
---|
29 | #Obsoletes: libxfcegui4 < %{version} |
---|
30 | |
---|
31 | %description |
---|
32 | Libxfce4ui is used to share commonly used Xfce widgets among the Xfce |
---|
33 | applications. |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development files for %{name} |
---|
37 | Group: Development/Libraries |
---|
38 | Requires: %{name} = %{version}-%{release} |
---|
39 | Requires: gtk2-devel |
---|
40 | Requires: libxfce4util-devel |
---|
41 | # FIXME: Enable libglade again one day |
---|
42 | #Requires: glade3-libgladeui-devel |
---|
43 | Requires: pkgconfig |
---|
44 | # FIXME: obsolete libxfcegui4 one day |
---|
45 | #Provides: libxfcegui4-devel = %{version} |
---|
46 | #Obsoletes: libxfcegui4-devel < %{version} |
---|
47 | |
---|
48 | %description devel |
---|
49 | The %{name}-devel package contains libraries and header files for |
---|
50 | developing applications that use %{name}. |
---|
51 | |
---|
52 | |
---|
53 | %prep |
---|
54 | %setup -q |
---|
55 | %patch0 -p1 -b .shortcut |
---|
56 | |
---|
57 | |
---|
58 | %build |
---|
59 | # FIXME: Enable libglade again one day |
---|
60 | %configure --enable-gtk-doc --disable-static --disable-gladeui |
---|
61 | # Remove rpaths |
---|
62 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
63 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
64 | |
---|
65 | # The LD_LIBRARY_PATH hack is needed for --enable-gtk-doc |
---|
66 | # because lt-libxfce4ui-scan is linked against libxfce4ui |
---|
67 | export LD_LIBRARY_PATH=$( pwd )/libxfce4ui/.libs |
---|
68 | |
---|
69 | make %{?_smp_mflags} V=1 |
---|
70 | |
---|
71 | |
---|
72 | %install |
---|
73 | rm -rf $RPM_BUILD_ROOT |
---|
74 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
75 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
76 | %find_lang %{name} |
---|
77 | |
---|
78 | |
---|
79 | %clean |
---|
80 | rm -rf $RPM_BUILD_ROOT |
---|
81 | |
---|
82 | |
---|
83 | %post -p /sbin/ldconfig |
---|
84 | |
---|
85 | %postun -p /sbin/ldconfig |
---|
86 | |
---|
87 | |
---|
88 | %files -f %{name}.lang |
---|
89 | %defattr(-,root,root,-) |
---|
90 | %doc AUTHORS COPYING NEWS README THANKS |
---|
91 | %config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml |
---|
92 | %{_libdir}/*.so.* |
---|
93 | |
---|
94 | %files devel |
---|
95 | %defattr(-,root,root,-) |
---|
96 | %doc TODO |
---|
97 | %{_includedir}/* |
---|
98 | %{_libdir}/*.so |
---|
99 | %{_libdir}/pkgconfig/*.pc |
---|
100 | %doc %{_datadir}/gtk-doc/ |
---|
101 | |
---|
102 | %changelog |
---|
103 | * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.0-6 |
---|
104 | - Initial build for Vine Linux |
---|
105 | |
---|
106 | * Wed Mar 16 2011 Christoph Wickert <cwickert@fedoraproject.org> - 4.8.0-5 |
---|
107 | - Remove requirements for libxfcegui4-devel now that glade support was omitted |
---|
108 | |
---|
109 | * Tue Feb 22 2011 Rakesh Pandit <rakesh@fedoraproject.org> - 4.8.0-4 |
---|
110 | - Disable glade as it still uses old API |
---|
111 | |
---|
112 | * Tue Feb 22 2011 Rakesh Pandit <rakesh@fedoraproject.org> - 4.8.0-3 |
---|
113 | - Rebuild for new glade |
---|
114 | |
---|
115 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.0-2 |
---|
116 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
117 | |
---|
118 | * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 4.8.0-1 |
---|
119 | - Update to 4.8.0 final. |
---|
120 | |
---|
121 | * Sun Jan 02 2011 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.6-1 |
---|
122 | - Update to 4.7.6 |
---|
123 | |
---|
124 | * Mon Nov 29 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.5-1 |
---|
125 | - Update to 4.7.5 |
---|
126 | |
---|
127 | * Mon Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.4-1 |
---|
128 | - Update to 4.7.4 |
---|
129 | |
---|
130 | * Sun Sep 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.3-1 |
---|
131 | - Update to 4.7.3 |
---|
132 | - Drop dependency on gtk-doc (#604399) |
---|
133 | |
---|
134 | * Tue Jul 27 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.2-2 |
---|
135 | - Fix file conflict with libxfce4gui (#618719) |
---|
136 | |
---|
137 | * Fri May 21 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.2-1 |
---|
138 | - Update to 4.7.2 |
---|
139 | |
---|
140 | * Wed May 19 2010 Kevin Fenzi <kevin@tummy.com> - 4.7.1-3 |
---|
141 | - Rebuild for new glade version. |
---|
142 | |
---|
143 | * Tue Jan 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.1-2 |
---|
144 | - Fix license tag |
---|
145 | - Build gtk-doc |
---|
146 | |
---|
147 | * Tue Jan 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.1-1 |
---|
148 | - Initial spec file, based on libxfcegui4.spec |
---|
149 | |
---|