source: projects/specs/trunk/g/garcon/garcon-vl.spec @ 9399

Revision 9399, 4.3 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 
1%global minorversion 0.4
2
3Name:           garcon
4Summary:        Implementation of the freedesktop.org menu specification
5Summary(ja):    freedesktop.org メニュー仕様の実装
6Version:        0.4.0
7Release:        1%{?_dist_release}
8
9Group:          System Environment/Libraries
10# garcon's source code is licensed under the LGPLv2+,
11# while its documentation is licensed under the GFDL 1.1
12License:        LGPLv2+ and GFDL
13URL:            http://xfce.org/
14
15Source0:        http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
16Patch0:         garcon-0.2.0-redhat-menus.patch
17
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19BuildRequires:  glib2-devel >= 2.30.0
20BuildRequires:  gtk2-devel >= 2.24.0
21BuildRequires:  gtk-doc >= 1.0
22BuildRequires:  gettext
23BuildRequires:  intltool
24BuildRequires:  libxfce4util-devel >= 4.10.0
25BuildRequires:  libxfce4ui-devel >= 4.10.0
26Requires:       vine-menus
27#Requires:       redhat-menus
28
29Obsoletes:      libxfce4menu < 4.6.3
30# because of %%{_datadir}/desktop-directories/xfce-*
31Conflicts:      xfdesktop <= 4.6.2
32
33Vendor:         Project Vine
34Distribution:   Vine Linux
35
36%description
37Garcon is an implementation of the freedesktop.org menu specification replacing
38the former Xfce menu library libxfce4menu. It is based on GLib/GIO only and
39aims at covering the entire specification except for legacy menus.
40
41%package        devel
42Summary:        Development files for %{name}
43Summary(ja):    %{name} の開発用ファイル
44Group:          Development/Libraries
45Requires:       %{name} = %{version}-%{release}
46Requires:       pkgconfig
47# FIXME not yet in place
48Obsoletes:      libxfce4menu-devel < 4.6.2
49
50%description    devel
51The %{name}-devel package contains libraries and header files for
52developing applications that use %{name}.
53
54
55%prep
56%setup -q
57#patch0 -p1 -b.redhat-menus
58
59%build
60%configure --disable-static --enable-gtk-doc
61make %{?_smp_mflags} V=1
62
63
64%install
65rm -rf $RPM_BUILD_ROOT
66make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
67find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
68%find_lang %{name}
69
70# ad-hoc fix
71chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
72
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77
78%post -p /sbin/ldconfig
79
80%postun -p /sbin/ldconfig
81
82%posttrans
83gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
84
85
86%files -f %{name}.lang
87%defattr(-,root,root,-)
88%doc AUTHORS ChangeLog COPYING NEWS README
89%config(noreplace) %{_sysconfdir}/xdg/menus/xfce-applications.menu
90%{_libdir}/*.so.*
91%{_datadir}/desktop-directories/xfce-*.directory
92
93%files devel
94%defattr(-,root,root,-)
95%doc HACKING STATUS TODO
96%{_includedir}/*
97%{_libdir}/*.so
98%{_libdir}/pkgconfig/*.pc
99%doc %{_datadir}/gtk-doc/
100
101%changelog
102* Sun Mar  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.4.0-1
103- new upstrem release
104- added BR: libxfce4ui-devel
105
106* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-2
107- rebuild with VineSeed environment
108
109* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-1
110- new upstrem release
111- add BuildRequires:  libxfce4util-devel
112
113* Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.7-1
114- new upstrem release
115
116* Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.5-4
117- Initial build for Vine Linux
118
119* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-3
120- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
121
122* Mon Jan 17 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.5-2
123- Include rebased redhat-menus.patch
124
125* Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 0.1.5-1
126- Update to 0.1.5
127
128* Sun Dec 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.4-1
129- Update to 0.1.4
130
131* Sat Dec 04 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-2
132- Add patch to use redhat-menus
133
134* Mon Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-1
135- Update to 0.1.2
136
137* Wed Nov 03 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.2-1
138- Update to 0.1.2
139
140* Thu Oct 07 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-2
141- Drop dependency on gtk-doc (#604352)
142
143* Fri Feb 26 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-1
144- Update to 0.1.1
145
146* Tue Jan 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-2
147- Build gtk-doc
148
149* Tue Jan 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1
150- Initial spec file
Note: See TracBrowser for help on using the repository browser.