]> git.pld-linux.org Git - packages/autogen.git/blob - autogen.spec
0dc88d982a59488c8ee36e717a8fde2dc0223484
[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:        2
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 # force regeneration
84 %{__rm} doc/autogen.info*
85
86 %build
87 %configure
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post
101 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
102
103 %postun
104 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
105
106 %post   libs -p /sbin/ldconfig
107 %postun libs -p /sbin/ldconfig
108
109 %files
110 %defattr(644,root,root,755)
111 %doc AUTHORS ChangeLog NEWS README THANKS TODO
112 %attr(755,root,root) %{_bindir}/autogen
113 %attr(755,root,root) %{_bindir}/columns
114 %attr(755,root,root) %{_bindir}/getdefs
115 %attr(755,root,root) %{_bindir}/xml2ag
116 %dir %{_libdir}/%{name}
117 %{_libdir}/%{name}/tpl-config.tlib
118 %dir %{_datadir}/%{name}
119 %{_datadir}/%{name}/*.def
120 %{_datadir}/%{name}/*.lic
121 %{_datadir}/%{name}/*.m4
122 %{_datadir}/%{name}/*.pm
123 %{_datadir}/%{name}/*.tlib
124 %{_datadir}/%{name}/*.tpl
125 %{_datadir}/%{name}/libopts-*.tar.gz
126 %attr(755,root,root) %{_datadir}/%{name}/man2mdoc
127 %attr(755,root,root) %{_datadir}/%{name}/man2texi
128 %attr(755,root,root) %{_datadir}/%{name}/mdoc2man
129 %attr(755,root,root) %{_datadir}/%{name}/mdoc2texi
130 %attr(755,root,root) %{_datadir}/%{name}/texi2man
131 %attr(755,root,root) %{_datadir}/%{name}/texi2mdoc
132 %{_infodir}/autogen.info*
133 %{_mandir}/man1/autogen.1*
134 %{_mandir}/man1/columns.1*
135 %{_mandir}/man1/getdefs.1*
136 %{_mandir}/man1/xml2ag.1*
137
138 %files libs
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_libdir}/libopts.so.*.*.*
141 %attr(755,root,root) %ghost %{_libdir}/libopts.so.25
142
143 %files devel
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_bindir}/autoopts-config
146 %attr(755,root,root) %{_libdir}/libopts.so
147 %{_libdir}/libopts.la
148 %{_includedir}/autoopts
149 %{_aclocaldir}/autoopts.m4
150 %{_pkgconfigdir}/autoopts.pc
151 %{_mandir}/man1/autoopts-config.1*
152 %{_mandir}/man3/ao_string_tokenize.3*
153 %{_mandir}/man3/configFileLoad.3*
154 %{_mandir}/man3/option*.3*
155 %{_mandir}/man3/str*.3*
156
157 %files static
158 %defattr(644,root,root,755)
159 %{_libdir}/libopts.a
This page took 0.044168 seconds and 2 git commands to generate.