source: projects/specs/tags/6_0_REL/lib/libx/libxfce4ui/libxfce4ui-vl.spec @ 3253

Revision 3253, 4.4 KB checked in by inagaki, 13 years ago (diff)

update: Xfce4

Line 
1%global xfceversion 4.8
2
3Name:           libxfce4ui
4Summary:        Commonly used Xfce widgets
5Version:        4.8.0
6Release:        6%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        LGPLv2+
10URL:            http://xfce.org/
11
12Source0:        http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
13Patch0:         libxfce4ui-4.7.6-keyboard-shortcuts.patch
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16BuildRequires:  gettext
17BuildRequires:  glib2-devel >= 2.12.0
18BuildRequires:  gtk-doc
19BuildRequires:  gtk2-devel >= 2.12.0
20BuildRequires:  intltool
21BuildRequires:  libSM-devel
22BuildRequires:  libxfce4util-devel >= %{xfceversion}
23BuildRequires:  startup-notification-devel >= 0.4
24BuildRequires:  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
32Libxfce4ui is used to share commonly used Xfce widgets among the Xfce
33applications.
34
35%package        devel
36Summary:        Development files for %{name}
37Group:          Development/Libraries
38Requires:       %{name} = %{version}-%{release}
39Requires:       gtk2-devel
40Requires:       libxfce4util-devel
41# FIXME: Enable libglade again one day
42#Requires:       glade3-libgladeui-devel
43Requires:       pkgconfig
44# FIXME: obsolete libxfcegui4 one day
45#Provides:       libxfcegui4-devel = %{version}
46#Obsoletes:      libxfcegui4-devel < %{version}
47
48%description    devel
49The %{name}-devel package contains libraries and header files for
50developing 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
62sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
63sed -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
67export LD_LIBRARY_PATH=$( pwd )/libxfce4ui/.libs
68
69make %{?_smp_mflags} V=1
70
71
72%install
73rm -rf $RPM_BUILD_ROOT
74make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
75find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
76%find_lang %{name}
77
78
79%clean
80rm -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
Note: See TracBrowser for help on using the repository browser.