source: projects/specs/trunk/a/apg/apg-vl.spec @ 8119

Revision 8119, 4.9 KB checked in by Takemikaduchi, 10 years ago (diff)

rebuild or new upstream release

Line 
1Summary:        Automated Password Generator for random password generation
2Name:           apg
3
4Version:        2.3.0b
5Release:        2%{?_dist_release}
6License:        BSD
7Group:          System Environment/Base
8URL:            http://www.adel.nursat.kz/%{name}/
9
10Source0:        http://www.adel.nursat.kz/%{name}/download/%{name}-%{version}.tar.gz
11Source1:        apg.xinetd
12Patch0:         apg-2.3.0b-gen_rand_pass.patch
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15Requires(post): grep
16
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21APG (Automated Password Generator) is the tool set for random password
22generation. This standalone version generates some random words of
23required type and prints them to standard output.
24
25%prep
26%setup -q
27%patch0 -p1 -b .gen_rand_pass
28
29%build
30# Build server
31make CFLAGS="$RPM_OPT_FLAGS" FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} cliserv
32
33# Build standalone files
34make CFLAGS="$RPM_OPT_FLAGS" FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} standalone
35
36%install
37[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
38install -D apg %{buildroot}%{_bindir}/apg
39install -D apgbfm %{buildroot}%{_bindir}/apgbfm
40install -D apgd %{buildroot}%{_sbindir}/apgd
41install -D -m 644 doc/man/apg.1 %{buildroot}%{_mandir}/man1/apg.1
42install -D -m 644 doc/man/apgbfm.1 %{buildroot}%{_mandir}/man1/apgbfm.1
43install -D -m 644 doc/man/apgd.8 %{buildroot}%{_mandir}/man8/apgd.8
44
45install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xinetd.d/apgd
46
47%clean
48[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
49
50%post
51# add a service for apg if it doesn't already exist
52if ! grep -q ^pwdgen /etc/services; then
53    echo -e 'pwdgen\t\t129/tcp\t\t\t# PWDGEN service' >> /etc/services
54fi
55
56
57%files
58%defattr(-, root, root)
59%doc CHANGES COPYING README THANKS TODO doc/rfc*
60%{_bindir}/apg
61%{_bindir}/apgbfm
62%{_sbindir}/apgd
63%{_mandir}/man*/*
64%{_sysconfdir}/xinetd.d/apgd
65
66%changelog
67* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.0b-2
68- rebuild with VineSeed environment
69
70* Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.0b-1
71- initial build for Vine Linux
72
73
74* Mon Mar 14 2011 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-11
75- Add Requires(post) on grep. Fixes bug #684779
76
77* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0b-10
78- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
79
80* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0b-9
81- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
82
83* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0b-8
84- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
85
86* Mon Aug 11 2008 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-7
87- Fix permissions. Fixes #453621
88
89* Sun Feb 10 2008 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-6
90- Rebuild for gcc43
91
92* Tue Aug 21 2007 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-5
93- Fix incorrect license tag
94- Fix incorrect sources
95
96* Sun Aug 27 2006 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-4
97- Rebuild for fc6
98
99* Thu Feb 16 2006 Kevin Fenzi <kevin@tummy.com> - 2.3.0b-3
100- Rebuild for fc5
101
102* Sat Jul 30 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.3.0b-2
103- Fix -y segfault (#164698).
104- Make with CFLAGS and FLAGS to build with RPM optflags to
105  repair debuginfo package.
106
107* Fri Apr 22 2005 Oliver Falk <oliver@linux-kernel.at>                          - 2.3.0b-1_FC4
108- Add FC4 to the release tag, so it's newer than the FC3 package
109
110* Mon Apr 11 2005 Oliver Falk <oliver@linux-kernel.at>                          - 2.3.0b-1
111- Merge FC devel specfile with lkernAT specfile (=> update)
112- Has now support for xinetd
113
114* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
115- rebuilt
116
117* Wed Nov 10 2004 Matthias Saou <http://freshrpms.net/> 2.2.3-3
118- Bump release to provide Extras upgrade path.
119- Nicer mode fix for the sources.
120
121* Sun Sep 21 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.2.3-0.fdr.2
122- Fixed file permission on source tarball.
123- Brought spec more in line with current template.
124
125* Mon Sep 15 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.2.3-0.fdr.1
126- Updated to 2.2.3.
127
128* Mon Sep 01 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.2.2-0.fdr.1
129- Updated to 2.2.2.
130
131* Tue Aug 05 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.2.0-0.fdr.1
132- Updated to 2.2.0.
133
134* Wed Jul 30 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:2.1.0-0.fdr.1
135- Fedorafication.
136
137* Mon Mar 31 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
138- Rebuilt for Red Hat Linux 9.
139- Added _smp_mflags macro.
140
141* Fri Oct  4 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
142- Update to 2.1.0.
143
144* Thu May  2 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
145- Update to 2.0.0final.
146
147* Tue Feb 27 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
148- Update to 1.2.13.
149
150* Fri Feb 16 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
151- Update to 1.2.11.
152
153* Thu Feb 15 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
154- Update to 1.2.1.
155
156* Wed Feb  7 2001 Matthias Saou <matthias.saou@est.une.marmotte.net>
157- Initial RPM release.
158
Note: See TracBrowser for help on using the repository browser.