]>
Commit | Line | Data |
---|---|---|
74470496 | 1 | %define pre pre4 |
04e2435f | 2 | Summary: Automated program generator |
cfcea6ae | 3 | Summary(pl.UTF-8): Zautomatyzowany generator programów |
04e2435f | 4 | Name: autogen |
74470496 AM |
5 | Version: 5.13.0 |
6 | Release: 0.%{pre}.1 | |
04e2435f | 7 | License: GPL v.2/BSD/LGPL |
8 | Group: Development | |
74470496 AM |
9 | Source0: http://autogen.sourceforge.net/data/%{name}-%{version}%{pre}.tar.xz |
10 | # Source0-md5: 86f80b060d82ab1069043b3478df195f | |
95820b33 | 11 | URL: http://autogen.sourceforge.net/ |
04e2435f | 12 | BuildRequires: guile-devel |
0d28a1a7 | 13 | BuildRequires: libltdl-devel |
04e2435f | 14 | BuildRequires: libxml2-devel |
15 | BuildRequires: texinfo | |
04e2435f | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | AutoGen is a tool designed for generating program files that contain | |
20 | repetitive text with varied substitutions. Its goal is to simplify the | |
21 | maintenance of programs that contain large amounts of repetitious | |
22 | text. This is especially valuable if there are several blocks of such | |
23 | text that must be kept synchronized in parallel tables. | |
24 | ||
254e074f JR |
25 | %description -l pl.UTF-8 |
26 | AutoGen to narzędzie zaprojektowane do generowania plików programów | |
27 | zawierających powtarzający się tekst z różnymi podstawieniami. Celem | |
28 | projektu jest uproszczenie zarządzania programów zawierających duże | |
29 | ilości powtórzonego tekstu. Jest szczególnie wartościowy jeśli jest | |
30 | kilka bloków takiego tekstu, które muszą być synchronizowane | |
31 | równolegle. | |
04e2435f | 32 | |
33 | %package devel | |
34 | Summary: Header files for autogen | |
cfcea6ae | 35 | Summary(pl.UTF-8): Pliki nagłówkowe dla autogen |
04e2435f | 36 | Group: Development/Libraries |
37 | Requires: %{name} = %{version}-%{release} | |
38 | ||
39 | %description devel | |
40 | Header files for autogen. | |
41 | ||
254e074f JR |
42 | %description devel -l pl.UTF-8 |
43 | Pliki nagłówkowe dla autogen. | |
04e2435f | 44 | |
45 | %package static | |
46 | Summary: Static autogen library | |
cfcea6ae | 47 | Summary(pl.UTF-8): Statyczna biblioteka autogen |
04e2435f | 48 | Group: Development/Libraries |
49 | Requires: %{name}-devel = %{version}-%{release} | |
50 | ||
51 | %description static | |
52 | Static autogen library. | |
53 | ||
254e074f | 54 | %description static -l pl.UTF-8 |
04e2435f | 55 | Statyczna biblioteka autogen. |
56 | ||
57 | %prep | |
74470496 | 58 | %setup -q -n %{name}-%{version}%{pre} |
04e2435f | 59 | |
60 | %build | |
61 | %configure | |
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
74470496 | 66 | install -d $RPM_BUILD_ROOT%{_pkgconfigdir} |
04e2435f | 67 | |
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
74470496 AM |
71 | mv $RPM_BUILD_ROOT%{_datadir}/pkgconfig/autoopts.pc $RPM_BUILD_ROOT%{_pkgconfigdir} |
72 | ||
04e2435f | 73 | %clean |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post | |
77 | /sbin/ldconfig | |
78 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
79 | ||
80 | %postun | |
81 | /sbin/ldconfig | |
82 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc AUTHORS ChangeLog NEWS README THANKS TODO | |
87 | %attr(755,root,root) %{_bindir}/* | |
88 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
89 | %{_datadir}/%{name} | |
90 | %{_infodir}/autogen.info* | |
91 | %{_mandir}/man1/*.1* | |
92 | %{_mandir}/man3/*.3* | |
93 | ||
94 | %files devel | |
95 | %defattr(644,root,root,755) | |
585e62ed | 96 | %attr(755,root,root) %{_libdir}/lib*.so |
04e2435f | 97 | %{_libdir}/lib*.la |
585e62ed JB |
98 | %{_includedir}/autoopts |
99 | %{_aclocaldir}/*.m4 | |
04e2435f | 100 | %{_pkgconfigdir}/*.pc |
101 | ||
102 | %files static | |
103 | %defattr(644,root,root,755) | |
104 | %{_libdir}/lib*.a |