source: projects/specs/tags/6_0_REL/g/global/global-vl.spec @ 942

Revision 942, 3.2 KB checked in by inagaki, 14 years ago (diff)

updated: desktop-file-utils, global

Line 
1#%define priority 30
2
3Summary: GNU GLOBAL is a source code tag system
4Summary(ja): GNU GLOBAL ソースコードタグシステム
5Name: global
6Version: 5.8.2
7Release: 1%{?_dist_release}
8License: GPLv3
9Group: Development/Tools
10URL: http://www.gnu.org/software/global/
11Source0: ftp://ftp.gnu.org/pub/gnu/global/%{name}-%{version}.tar.gz
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13Requires: perl
14Requires(post,preun): /sbin/install-info
15
16Vendor: Project Vine
17Distribution: Vine Linux
18
19%description
20GNU GLOBAL is a source code tag system that works the same way across diverse
21environments. It supports C, C++, Yacc and Java source code.
22
23%description -l ja
24GNU GLOBAL はソースコードに索引付けを行います.
25C, C++, Yacc, Java のソースコードをサポートします.
26
27%prep
28%setup -q
29
30%build
31%configure --disable-static
32make
33
34%install
35rm -rf %{buildroot}
36%makeinstall
37
38# gctags command conflicts emacs package.
39#%__mv %{buildroot}%{_bindir}/gctags %{buildroot}%{_bindir}/gctags.global
40#%__mv %{buildroot}%{_mandir}/man1/gctags.1 %{buildroot}%{_mandir}/man1/gctags.global.1
41
42pushd $RPM_BUILD_ROOT%{_datadir}/gtags
43rm -f AUTHORS BOKIN_* COPYING ChangeLog DONORS FAQ \
44    INSTALL LICENSE NEWS README THANKS
45popd
46
47rm -f $RPM_BUILD_ROOT%{_libdir}/gtags/*.la
48rm -f $RPM_BUILD_ROOT%{_infodir}/dir
49
50%clean
51rm -rf %{buildroot}
52
53%post
54#/sbin/update-alternatives --install /usr/bin/gctags gctags /usr/bin/gctags.global %{priority}
55#/sbin/update-alternatives --config gctags
56/sbin/install-info %{_infodir}/global.info.* %{_infodir}/dir
57
58%preun
59if [ $1 = 0 ]; then
60#    /sbin/update-alternatives --remove gctags /usr/bin/gctags.global
61    /sbin/install-info --delete %{_infodir}/global.info.* %{_infodir}/dir
62fi
63
64%files
65%defattr(-,root,root)
66%doc AUTHORS BOKIN_* COPYING ChangeLog DONORS FAQ INSTALL
67%doc LICENSE NEWS README THANKS
68%doc globash.rc gtags.conf gtags.el gtags.pl
69%{_bindir}/*
70%{_libdir}/gtags/*.so
71%{_mandir}/man?/*
72%{_datadir}/gtags
73%{_infodir}/global.info*
74
75%changelog
76* Tue May  4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.8.2-1
77- new upstream release
78
79* Thu Dec 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.7.7-1
80- new upstream release
81
82* Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.7.5-1
83- new upstream release
84- spec in UTF-8
85
86* Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.7.1-1
87- new upstream release
88
89* Fri Jan 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.6.2-0vl1
90- new upstream release
91
92* Wed Aug  8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.6-0vl1
93- new upstream release
94
95* Tue Oct  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.2-0vl1
96- new upstream release
97
98* Tue Oct 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.7-0vl1
99- new upstream release
100- this version is not necessary to use alternatives
101
102* Wed Aug  6 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 4.6-0vl2
103- use alternatives for gctags
104- fix typo in URL
105
106* Fri Aug  1 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 4.6-0vl1
107- update to 4.6
108- rename gctags.1 to gctags.global.1
109
110* Sat Jul 19 2003 Kunio Murasawa <murasawa@fa2.so-net.ne.jp> 4.5.3-0vl1
111- update to 4.5.3
112- changed URL
113- removed gctags.1* (conflict emacs package)
114
115* Mon May  5 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 4.5.2-0vl1
116- Initial build.
117
Note: See TracBrowser for help on using the repository browser.