]> git.pld-linux.org Git - packages/autogen.git/blob - autogen.spec
- fix building with guile 3.0, rel 3
[packages/autogen.git] / autogen.spec
1 Summary:        Automated program generator
2 Summary(pl.UTF-8):      Zautomatyzowany generator programów
3 Name:           autogen
4 Version:        5.18.12
5 Release:        1
6 License:        GPL v3+ (AutoGen), LGPL v2+ (genshell), LGPL v3+ or Modified BSD (AutoOpts library)
7 Group:          Development/Tools
8 Source0:        http://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz
9 # Source0-md5:  62e8d5fcc6dde13631bd54fbd2dde07a
10 Patch0:         %{name}-notinstalled.patch
11 Patch1:         %{name}-info.patch
12 URL:            http://autogen.sourceforge.net/
13 BuildRequires:  guile-devel >= 5:2.0
14 BuildRequires:  libltdl-devel
15 BuildRequires:  libxml2-devel
16 BuildRequires:  tar >= 1:1.22
17 BuildRequires:  texinfo
18 BuildRequires:  xz
19 BuildConflicts: guile1-devel
20 Requires:       %{name}-libs = %{version}-%{release}
21 Suggests:       %{name}-devel = %{version}-%{release}
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 AutoGen is a tool designed for generating program files that contain
26 repetitive text with varied substitutions. Its goal is to simplify the
27 maintenance of programs that contain large amounts of repetitious
28 text. This is especially valuable if there are several blocks of such
29 text that must be kept synchronized in parallel tables.
30
31 %description -l pl.UTF-8
32 AutoGen to narzędzie zaprojektowane do generowania plików programów
33 zawierających powtarzający się tekst z różnymi podstawieniami. Celem
34 projektu jest uproszczenie zarządzania programów zawierających duże
35 ilości powtórzonego tekstu. Jest szczególnie wartościowy jeśli jest
36 kilka bloków takiego tekstu, które muszą być synchronizowane
37 równolegle.
38
39 %package libs
40 Summary:        Shared AutoOpts library
41 Summary(pl.UTF-8):      Biblioteka współdzielona AutoOpts
42 License:        LGPL v3+ or Modified BSD
43 Group:          Libraries
44 Conflicts:      autogen < 5.14
45
46 %description libs
47 Shared AutoOpts library.
48
49 %description libs -l pl.UTF-8
50 Biblioteka współdzielona AutoOpts.
51
52 %package devel
53 Summary:        Header files for AutoOpts library
54 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki AutoOpts
55 License:        LGPL v3+ or Modified BSD
56 Group:          Development/Libraries
57 Requires:       %{name}-libs = %{version}-%{release}
58
59 %description devel
60 Header files for AutoOpts library.
61
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe biblioteki AutoOpts.
64
65 %package static
66 Summary:        Static AutoOpts library
67 Summary(pl.UTF-8):      Statyczna biblioteka AutoOpts
68 License:        LGPL v3+ or Modified BSD
69 Group:          Development/Libraries
70 Requires:       %{name}-devel = %{version}-%{release}
71
72 %description static
73 Static AutoOpts library.
74
75 %description static -l pl.UTF-8
76 Statyczna biblioteka AutoOpts.
77
78 %prep
79 %setup -q
80 %patch0 -p1
81 %patch1 -p1
82
83 %build
84 %configure
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post
98 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
99
100 %postun
101 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
102
103 %post   libs -p /sbin/ldconfig
104 %postun libs -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %doc AUTHORS ChangeLog NEWS README THANKS TODO
109 %attr(755,root,root) %{_bindir}/autogen
110 %attr(755,root,root) %{_bindir}/columns
111 %attr(755,root,root) %{_bindir}/getdefs
112 %attr(755,root,root) %{_bindir}/xml2ag
113 %dir %{_libdir}/%{name}
114 %{_libdir}/%{name}/tpl-config.tlib
115 %dir %{_datadir}/%{name}
116 %{_datadir}/%{name}/*.def
117 %{_datadir}/%{name}/*.lic
118 %{_datadir}/%{name}/*.m4
119 %{_datadir}/%{name}/*.pm
120 %{_datadir}/%{name}/*.tlib
121 %{_datadir}/%{name}/*.tpl
122 %{_datadir}/%{name}/libopts-*.tar.gz
123 %attr(755,root,root) %{_datadir}/%{name}/man2mdoc
124 %attr(755,root,root) %{_datadir}/%{name}/man2texi
125 %attr(755,root,root) %{_datadir}/%{name}/mdoc2man
126 %attr(755,root,root) %{_datadir}/%{name}/mdoc2texi
127 %attr(755,root,root) %{_datadir}/%{name}/texi2man
128 %attr(755,root,root) %{_datadir}/%{name}/texi2mdoc
129 %{_infodir}/autogen.info*
130 %{_mandir}/man1/autogen.1*
131 %{_mandir}/man1/columns.1*
132 %{_mandir}/man1/getdefs.1*
133 %{_mandir}/man1/xml2ag.1*
134
135 %files libs
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_libdir}/libopts.so.*.*.*
138 %attr(755,root,root) %ghost %{_libdir}/libopts.so.25
139
140 %files devel
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_bindir}/autoopts-config
143 %attr(755,root,root) %{_libdir}/libopts.so
144 %{_libdir}/libopts.la
145 %{_includedir}/autoopts
146 %{_aclocaldir}/autoopts.m4
147 %{_pkgconfigdir}/autoopts.pc
148 %{_mandir}/man1/autoopts-config.1*
149 %{_mandir}/man3/ao_string_tokenize.3*
150 %{_mandir}/man3/configFileLoad.3*
151 %{_mandir}/man3/option*.3*
152 %{_mandir}/man3/str*.3*
153
154 %files static
155 %defattr(644,root,root,755)
156 %{_libdir}/libopts.a
This page took 0.096896 seconds and 3 git commands to generate.