source: projects/specs/trunk/a/autogen/autogen-vl.spec @ 9291

Revision 9291, 4.3 KB checked in by Takemikaduchi, 9 years ago (diff)

libdbi-drivers,goffice08,guile18: NEW package
geda-gaf,missile,rrdtool,trackballs,trackballs-music,ulogd,xkeycaps,xorg-x11-jpfonts: rebuild
others: new upstream release

Line 
1Version:    5.18.4
2Release:    1%{?_dist_release}
3
4Summary:    AutoGen - The Automated Program Generator
5Name:       autogen
6URL:        http://www.gnu.org/software/autogen/       
7License:    GPL2
8Group:      Development/Tools
9Source:     ftp://ftp.gnu.org/gnu/autogen/rel%{version}/autogen-%{version}.tar.xz
10BuildRoot:  %{_tmppath}/%{name}-root
11
12Requires:       install-info
13Requires:       guile
14BuildRequires:  guile-devel
15BuildRequires:  libxml2-devel
16
17Vendor: Project Vine
18Distribution: Vine Linux
19Packager: yasumichi
20
21%description
22AutoGen is a tool designed for generating program files that contain
23repetitive text with varied substitutions.  Its goal is to simplify the
24maintenance of programs that contain large amounts of repetitious text.
25This is especially valuable if there are several blocks of such text
26that must be kept synchronized in parallel tables.
27
28Some parts are released under different licensing:
29
30libopts LGPL  This is a tear-off, redistributable option processing library
31autofsm BSD   This is a template for producing finite state machine programs
32
33The Copyright itself is privately held by Bruce Korb.
34
35%prep
36%setup -q
37chmod -R +rw *
38
39%build
40autoreconf -if
41%configure
42make CFLAGS="$RPM_OPT_FLAGS"
43
44if [ `id -u` -eq 0 ] && egrep -q ^nobody /etc/passwd
45then
46    echo "switching to user nobody to run 'make check'"
47    chown -R nobody . ; su -c "umask 002; make check || touch FAIL" nobody
48else
49    make check
50fi
51[ -f FAIL ] && exit 1
52
53%install
54[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
55mkdir -p ${RPM_BUILD_ROOT}
56make install DESTDIR=${RPM_BUILD_ROOT}
57
58rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
59
60# IF we have a valid file list OR the build root is _the_ root,
61# THEN skip the file list generation.
62#
63if test \( -f autogen-filelist \
64        -a -s autogen-filelist \) \
65        -o ${#RPM_BUILD_ROOT} -le 1
66then : ; else
67  ( cd ${RPM_BUILD_ROOT}
68    rm -f usr/share/info/dir
69    find . -type f | grep -v 'usr/share/doc'
70  ) | sed -e 's@^\./@/@' \
71          -e'/usr\/share\/info/s,$,.gz,' \
72          -e'/usr\/share\/man/s,$,.gz,' \
73    | sort \
74    > autogen-filelist
75fi
76
77%post
78/sbin/ldconfig
79/sbin/install-info --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
80
81%preun
82/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
83
84%postun -p /sbin/ldconfig
85
86%clean
87rm -rf ${RPM_BUILD_ROOT}
88
89%files -f autogen-filelist
90%defattr(-,root,root)
91%doc AUTHORS TODO COPYING NEWS THANKS README VERSION
92#%%{_libdir}/libguileopts.so
93#%%{_libdir}/libguileopts.so.0
94%{_libdir}/libopts.so
95%{_libdir}/libopts.so.25
96
97%changelog
98* Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.18.4-1
99- new upstream release
100
101* Mon Jan 27 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.18.1-1
102- new upstream release
103- change archive format
104- add dependencies
105
106* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 5.9.9-2
107- rebuilt with rpm-4.8.1 for pkg-config
108
109* Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.9-1
110- new upstream release.
111- build with guile-1.8.7
112- add Vendor, Distribution and Packager.
113
114* Tue Jan 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 5.9.7-1
115- new upstream release
116- build with guile-1.8.6
117- correct spec tag (Vendor -> URL)
118
119* Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.4-3vl5
120- use macro for Release
121
122* Sat May 10 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.4-2vl5
123- rebuild with guile-1.6.7-5vl5
124
125* Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.4-1vl5
126- apply new virsioning policy.
127- remove *.la
128
129* Sat Jan 05 2008 Shu KONNO <owa@bg.wakwak.com> 5.9.4-0vl1
130- updated to last stable release
131
132* Thu Jan 03 2008 Shu KONNO <owa@bg.wakwak.com> 5.8.7-5vl2
133- added %%{_libdir}/lib*.so* in %%files
134
135* Sun Dec 17 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.8.7-5vl1
136- build for VineSeed
137* Sat Oct 14 2006 Bruce Korb <bkorb@veritas.com> Regenerated
138* Fri Dec 31 2004 Bruce Korb <bkorb@gnu.org> Restored the file list
139* Wed Oct 27 2004 Ed Swierk <eswierk@users.sf.net> fixed up for Fedora
140* Tue Dec 16 2003 Richard Zidlicky <rz@linux-m68k.org> 5.5.7pre5-5
141- fix %%doc
142- add post/pre scriptlets
143- change default prefix
144* Sat Mar 15 2003 Bruce Korb <bkorb@gnu.org>
145- Rework as a template to automatically produce a properly configured RPM
146* Fri Aug 9 2002 Bruce Korb <bkorb@gnu.org>
147- Pull stuff from Thomas Steudten's version of this file
Note: See TracBrowser for help on using the repository browser.