source: projects/specs/trunk/lib/libx/libxfce4ui/libxfce4ui-vl.spec @ 9399

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

2015-03-01 Ryoichi INAGAKI <ryo1@…>

  • Xfce: updated to 4.12
  • libxfce4util410: new for compatibility


Line 
1Name:           libxfce4ui
2Version:        4.12.0
3Release:        1%{?_dist_release}
4Summary:        Commonly used Xfce widgets
5Summary(ja):    Xfce の共用ウィジェット
6
7Group:          System Environment/Libraries
8License:        LGPLv2+
9URL:            http://xfce.org/
10
11Source0:        http://archive.xfce.org/src/xfce/%{name}/4.12/%{name}-%{version}.tar.bz2
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  gettext
15BuildRequires:  glib2-devel >= 2.30.0
16BuildRequires:  gtk-doc
17BuildRequires:  gtk2-devel >= 2.24.0
18BuildRequires:  gtk3-devel >= 3.2.0
19BuildRequires:  intltool
20BuildRequires:  libSM-devel
21BuildRequires:  libxfce4util-devel >= 4.12.0
22BuildRequires:  startup-notification-devel >= 0.4
23BuildRequires:  xfconf-devel >= 4.12.0
24BuildRequires:  perl
25
26Obsoletes:      xfce-utils < 4.9
27
28Vendor: Project Vine
29Distribution: Vine Linux
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}
37Summary(ja):    %{name} の開発用ファイル
38Group:          Development/Libraries
39Requires:       %{name} = %{version}-%{release}
40# FIXME: Enable libglade again one day
41#Requires:       glade3-libgladeui-devel
42Requires:       pkgconfig
43
44%description    devel
45The %{name}-devel package contains libraries and header files for
46developing applications that use %{name}.
47
48
49%prep
50%setup -q
51
52
53%build
54# FIXME: Enable libglade again one day
55%configure --enable-gtk-doc --disable-static --disable-gladeui
56# Remove rpaths
57sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
58sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
59
60# The LD_LIBRARY_PATH hack is needed for --enable-gtk-doc
61# because lt-libxfce4ui-scan is linked against libxfce4ui
62export LD_LIBRARY_PATH=$( pwd )/libxfce4ui/.libs
63
64make %{?_smp_mflags} V=1
65
66
67%install
68rm -rf $RPM_BUILD_ROOT
69make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
70find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
71%find_lang %{name}
72
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77
78%post
79/sbin/ldconfig
80touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
81gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
82update-desktop-database %{_datadir}/applications &> /dev/null || :
83
84%postun
85/sbin/ldconfig
86if [ $1 -eq 0 ]; then
87    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
88    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
89fi
90update-desktop-database %{_datadir}/applications &> /dev/null || :
91
92
93
94%files -f %{name}.lang
95%defattr(-,root,root,-)
96%doc AUTHORS COPYING NEWS README THANKS
97%config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
98%{_bindir}/xfce4-about
99%{_libdir}/*.so.*
100%{_datadir}/applications/xfce4-about.desktop
101%{_datadir}/icons/hicolor/48x48/apps/xfce4-logo.png
102
103%files devel
104%defattr(-,root,root,-)
105%doc TODO
106%{_includedir}/*
107%{_libdir}/*.so
108%{_libdir}/pkgconfig/*.pc
109%doc %{_datadir}/gtk-doc/
110
111%changelog
112* Sat Feb 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.12.0-1
113- new upstream release
114
115* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.0-2
116- rebuild with VineSeed environment
117
118* Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.0-1
119- new upstream release
120- remove Patch0
121- add Obsoletes: xfce-utils < 4.9
122
123* Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.0-6
124- Initial build for Vine Linux
125
126* Wed Mar 16 2011 Christoph Wickert <cwickert@fedoraproject.org> - 4.8.0-5
127- Remove requirements for libxfcegui4-devel now that glade support was omitted
128
129* Tue Feb 22 2011 Rakesh Pandit <rakesh@fedoraproject.org> - 4.8.0-4
130- Disable glade as it still uses old API
131
132* Tue Feb 22 2011 Rakesh Pandit <rakesh@fedoraproject.org> - 4.8.0-3
133- Rebuild for new glade
134
135* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.0-2
136- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
137
138* Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 4.8.0-1
139- Update to 4.8.0 final.
140
141* Sun Jan 02 2011 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.6-1
142- Update to 4.7.6
143
144* Mon Nov 29 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.5-1
145- Update to 4.7.5
146
147* Mon Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.4-1
148- Update to 4.7.4
149
150* Sun Sep 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.3-1
151- Update to 4.7.3
152- Drop dependency on gtk-doc (#604399)
153
154* Tue Jul 27 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.2-2
155- Fix file conflict with libxfce4gui (#618719)
156
157* Fri May 21 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.2-1
158- Update to 4.7.2
159
160* Wed May 19 2010 Kevin Fenzi <kevin@tummy.com> - 4.7.1-3
161- Rebuild for new glade version.
162
163* Tue Jan 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.1-2
164- Fix license tag
165- Build gtk-doc
166
167* Tue Jan 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.1-1
168- Initial spec file, based on libxfcegui4.spec
169
Note: See TracBrowser for help on using the repository browser.