]> git.pld-linux.org Git - packages/xdelta.git/blob - xdelta.spec
4f12940ebef52c269e2958f7f8d15046e4bb071e
[packages/xdelta.git] / xdelta.spec
1 Summary:        XDELTA - version control system
2 Summary(pl):    XDELTA - system kontroli wersji
3 Name:           xdelta
4 Version:        1.0.2
5 Release:        1d
6 Copyright:      GPL
7 Group:          Development/Version Control
8 Group(pl):      Programowanie/Kontrola Wersji
9 #######         ftp://www.xcf.berkeley.edu/pub/xdelta
10 Source:         %{name}-%{version}.tar.gz
11 Patch0:         xdelta-info.patch
12 Patch1:         xdelta-zlib.patch
13 URL:            http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html                                                   
14 PreReq:         /sbin/install-info
15 BuildRoot:      /tmp/%{name}-%{version}-root
16
17 %description
18 XDELTA (`X' for XCF) is a version-control library and file-format designed as
19 a replacement for RCS.  The XDELTA library performs its work independently of
20 the actual file-format used to encode the version-file and is intended to be
21 used by various higher-level programs such as PRCS.
22
23 XDELTA uses a binary file-delta algorithm to replace the standard diff
24 program used by RCS.
25
26 %description -l pl
27 XDELTA (`X' od XCF) jest bibliotek± systemu kontroli wersji tworzona jako
28 zamiennik RCS. Biblioteka XDELTA wykonuje ró¿ne czynno¶ci niezale¿nie od
29 bierz±cego formatu plików, u¿ywanych do kodowania plików baz danych, systemu
30 kontroli wersji i zaprojektowana jest do u¿ywania w ró¿nych wysoko-poziomowych
31 systemach kontroli wersji jak PRCS.
32
33 XDELTA u¿ywa binarnego formatu zamiast standardowego diif-a u¿ywanego przez
34 RCS.
35
36 %package devel
37 Summary:        XDELTA - header files
38 Summary(pl):    XDELTA - pliki nag³ówkowe
39 Group:          Development/Libraries
40 Group(pl):      Programowanie/Biblioteki
41 Requires:       %{name} = %{version}
42
43 %description devel
44 This package contains the XDELTA header files required to develop
45 XDELTA-based applications.
46
47 %description -l pl devel
48 Pakiet ten zawiera pliki nag³ówkowe potrzebne przy tworzeniu aplikacji
49 bazuj±cych na XDELTA.
50
51 %package static
52 Summary:        XDELTA - static library
53 Summary(pl):    XDELTA - biblioteka statyczna
54 Group:          Development/Libraries
55 Group(pl):      Programowanie/Biblioteki
56 Requires:       %{name}-devel = %{version}
57
58 %description static
59 This package contains the XDELTA static libraries
60
61 %description -l pl static
62 Pakiet ten zawiera bibliotekê statyczn± XDELTA.
63
64 %prep
65 %setup -q
66 %patch0 -p1
67 %patch1 -p1
68
69 %build
70 aclocal
71 libtoolize --force
72 CFLAGS=$RPM_OPT_FLAGS LDFLAGS=-s \
73 ./configure \
74         --prefix=/usr \
75         --x-includes=/usr/X11R6/lib/glib/include
76 make
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT/usr/info
81
82 make prefix=$RPM_BUILD_ROOT/usr install-strip
83
84 install doc/xdelta.info $RPM_BUILD_ROOT/usr/info
85
86 gzip -9nf $RPM_BUILD_ROOT/usr/{info/*.info*,man/man1/*}
87
88 bzip2 -9 NEWS READ* xdelta.magic ChangeLog
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %post devel
94 /sbin/install-info /usr/info/xdelta.info.gz /etc/info-dir
95
96 %preun devel
97 if [ $1 = 0 ]; then
98     /sbin/install-info --delete /usr/info/xdelta.info.gz /etc/info-dir
99 fi
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files
105 %defattr(644,root,root,755)
106
107 %attr(755,root,root) /usr/bin/*
108 %attr(755,root,root) /usr/lib/*.so.*
109 %attr(644,root, man) /usr/man/man1/*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc NEWS.bz2 READ* xdelta.magic.bz2 ChangeLog.bz2
114
115 /usr/include/*
116 /usr/info/xdelta.*
117
118 %attr(755,root,root) /usr/lib/*.so
119
120 %files static
121 %defattr(644,root,root,755) 
122 /usr/lib/lib*.a
123
124 %changelog
125 * Fri Feb 05 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
126   [1.0.2-1d]
127 - updated to 1.0.2,
128 - fixed -lz problem ? ;)
129 - fixed permission of static library.
130
131 * Sat Jan 23 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
132   [1.0.0-3d]
133 - removed xdelta.magic from doc (this is now included in latest file packa).
134 - changed --x-includes to /usr/X11R6/lib/glib/include,
135 - standarized {un}registering info pages (added xdelta-info.patch),
136 - gzipping instead bzipping2 man pages.
137
138 * Sat Jan 23 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
139 - added Group(pl),  
140 - compressed man pages && documentation (bizp2),
141 - fixed %post && %preun,
142 - fixed static-subpackage.
143
144 * Wed Dec 23 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
145   [1.0.0-3]
146 - standarized {un}registering info pages,
147 - xdelta info pages moved to section "Version Control:",
148 - added gzipping man pages,
149 - added URL,
150 - added using LDFLAGS="-s" to ./configure enviroment.
151
152 * Thu Nov 26 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
153   [1.0.0-2]
154 - fixed: removed /usr/info/dir from devel,
155 - removed xdelta.magic and non existing doc/xdelta.txt from %doc,
156 - fixed --entry text on {un}registering info page for libtool in %post
157   %preun in devel.
158
159 * Sat Oct 03 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
160   [0.23-1d]
161 - build against Tornado,
162 - fixed pl translation,
163 - fixed files permissions,
164 - minor modifications of the spec file.
165
166 * Mon Aug 10 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
167   [0.22-2]
168 - added pl translation,
169 - added static subpackage,
170 - all %doc moved to devel,
171 - cosmetic changes in %files.
172
173 * Tue Jul 07 1998 Arne Coucheron <arneco@online.no>
174   [0.22-1]
175 - removed running of automake, problem fixed in sources
176
177 * Sat Jul 04 1998 Arne Coucheron <arneco@online.no>
178   [0.21-1]
179 - added xdelta.magic to %doc
180 - added running of automake before configure to make this version build
181 - changed %defattr
182
183 * Sat Jun 27 1998 Arne Coucheron <arneco@online.no>
184   [0.20-1]
185
186 * Sun Jun  7 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
187   [0.19-3]
188 - fixed configuring sources by add --x-includes=/usr/lib/glib/include
189   configure parameter (for glibconfig.h),
190 - changed Source url to ftp://www.xcf.berkeley.edu/pub/xdelta/
191 - fixed %defattr macros (thanks to René Wuttke <Rene.Wuttke@gmx.net>).
192
193 * Wed May  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
194   [0.19-2]
195 - %%{version} macro instead %%{PACKAGE_VERSION},
196 - added -q %setup parameter,
197 - added using %%{name} macro in Buildroot, Source and Rquires in devel
198   fields.
199
200 * Sun May 03 1998 Arne Coucheron <arneco@online.no>
201   [0.19-1]
202 - removed some older changelogs
203
204 * Wed Apr 28 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
205   [0.18-2]
206 - removed COPYING from %doc (copyright statment is in Copyright field),
207 - /sbin/ldconfig is now -p parameter in %post, %postun,
208 - replaced "mkdir -p" with "install -d" in %install,
209 - added "Requires: xdelta = %%{PACKAGE_VERSION}" for devel,
210 - added using %defattr macro in %files (requires rpm >= 2.4.99),
211 - added using predefined macro %%{PACKAGE_VERSION} instead %{version},
212 - changed permission on /usr/lib/lib*.so links to 644,
213 - removed /usr/lib/libxdelta.la from devel,
214 - added striping /usr/lib/lib*.so.*.* libs,
215 - Buildroot changed to /tmp/xdelta-%%{PACKAGE_VERSION}-root.
216
217 * Fri Apr 24 1998 Arne Coucheron <arneco@online.no>
218   [0.18-1]
219 - removed the fakeglib patch
220
221 * Wed Apr 08 1998 Arne Coucheron <arneco@online.no>
222   [0.15-2]
223 - splitted the package into a main and devel package
224
225 * Sat Apr 04 1998 Arne Coucheron <arneco@online.no>
226   [0.15-1]
This page took 0.055424 seconds and 2 git commands to generate.