]> git.pld-linux.org Git - packages/xdelta.git/blobdiff - xdelta.spec
- removed "PreReq: /sbin/install-info".
[packages/xdelta.git] / xdelta.spec
index ae3558b33379a62ad1a8a4eaff1e9a5d2211605b..ec8b0f4d7a8000f6969c02dc46187925dda6a9f4 100644 (file)
@@ -2,13 +2,15 @@ Summary:      XDELTA - version control system
 Summary(pl):   XDELTA - system kontroli wersji
 Name:          xdelta
 Version:       1.1.1
-Release:       1
+Release:       3
 Copyright:     GPL
 Group:         Development/Version Control
 Group(pl):     Programowanie/Kontrola Wersji
 Source:                ftp://www.xcf.berkeley.edu/pub/xdelta/%{name}-%{version}.tar.gz
-URL:           http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html                                                   
-Requires:      glib = 1.2.1
+URL:           http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html
+BuildPrereq:   glib-devel >= 1.2.0
+BuildPrereq:   zlib-devel
+Requires:      glib >= 1.2.0
 BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
@@ -35,7 +37,6 @@ Summary:      XDELTA - header files
 Summary(pl):   XDELTA - pliki nag³ówkowe
 Group:         Development/Libraries
 Group(pl):     Programowanie/Biblioteki
-PreReq:                /sbin/install-info
 Requires:      %{name} = %{version}
 
 %description devel
@@ -63,21 +64,22 @@ Pakiet ten zawiera bibliotek
 %setup -q
 
 %build
+autoconf
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr \
+./configure %{_target_platform}\
+       --prefix=%{_prefix} \
        --x-includes=/usr/X11R6/lib/glib/include
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/info
+install -d $RPM_BUILD_ROOT%{_infodir}
 
-make prefix=$RPM_BUILD_ROOT/usr install-strip
+make DESTDIR=$RPM_BUILD_ROOT install
 
-strip --strip-unneeded $RPM_BUILD_ROOT/usr/lib/lib*so.*.*
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
 
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/* \
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
        NEWS READ* ChangeLog
 
 %post   -p /sbin/ldconfig
@@ -87,134 +89,27 @@ gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/* \
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%attr(755,root,root) /usr/bin/xdelta
-%attr(755,root,root) /usr/lib/lib*.so.*.*
-/usr/man/man1/*
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/xdelta
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_mandir}/man1/*
 
 %files devel
 %defattr(644,root,root,755)
 %doc {NEWS,READ*,ChangeLog}.gz
 
-%attr(755,root,root) /usr/bin/xdelta-config
-/usr/include/*
+%attr(755,root,root) %{_bindir}/xdelta-config
+%{_includedir}/*
 
-%attr(755,root,root) /usr/lib/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.so
 
 %files static
-%attr(644,root,root) /usr/lib/lib*.a
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
 
 %changelog
-* Sun Mar 21 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.0.6-1]
-- fix: "PreReq: /sbin/install-info" moved to devel,
-- strip with --strip-unneeded shared libraries.
-
-* Mon Mar  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.0.3-1]
-- removed xdelta.magic from %doc (it is integrated in current file package),
-- added "Requires: glib = 1.2.0" to main,
-- /usr/bin/xdelta-config moved to devel,
-- removed xdelta info pages (it is empty .. contain only GPL licence text),
-- removed man group from man pages.
-
-* Fri Feb 05 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [1.0.2-1d]
-- updated to 1.0.2,
-- fixed permission of static library.
-
-* Sat Jan 23 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.0.0-3d]
-- removed xdelta.magic from doc (this is now included in latest file packa).
-- changed --x-includes to /usr/X11R6/lib/glib/include,
-- standarized {un}registering info pages (added xdelta-info.patch),
-- gzipping instead bzipping2 man pages.
-
-* Sat Jan 23 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-- added Group(pl),  
-- compressed man pages && documentation (bizp2),
-- fixed %post && %preun,
-- fixed static-subpackage.
-
-* Wed Dec 23 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.0.0-3]
-- standarized {un}registering info pages,
-- xdelta info pages moved to section "Version Control:",
-- added gzipping man pages,
-- added URL,
-- added using LDFLAGS="-s" to ./configure enviroment.
-
-* Thu Nov 26 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.0.0-2]
-- fixed: removed /usr/info/dir from devel,
-- removed xdelta.magic and non existing doc/xdelta.txt from %doc,
-- fixed --entry text on {un}registering info page for libtool in %post
-  %preun in devel.
-
-* Sat Oct 03 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.23-1d]
-- build against Tornado,
-- fixed pl translation,
-- fixed files permissions,
-- minor modifications of the spec file.
-
-* Mon Aug 10 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.22-2]
-- added pl translation,
-- added static subpackage,
-- all %doc moved to devel,
-- cosmetic changes in %files.
-
-* Tue Jul 07 1998 Arne Coucheron <arneco@online.no>
-  [0.22-1]
-- removed running of automake, problem fixed in sources
-
-* Sat Jul 04 1998 Arne Coucheron <arneco@online.no>
-  [0.21-1]
-- added xdelta.magic to %doc
-- added running of automake before configure to make this version build
-- changed %defattr
-
-* Sat Jun 27 1998 Arne Coucheron <arneco@online.no>
-  [0.20-1]
-
-* Sun Jun  7 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.19-3]
-- fixed configuring sources by add --x-includes=/usr/lib/glib/include
-  configure parameter (for glibconfig.h),
-- changed Source url to ftp://www.xcf.berkeley.edu/pub/xdelta/
-- fixed %defattr macros (thanks to René Wuttke <Rene.Wuttke@gmx.net>).
-
-* Wed May  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.19-2]
-- %%{version} macro instead %%{PACKAGE_VERSION},
-- added -q %setup parameter,
-- added using %%{name} macro in Buildroot, Source and Rquires in devel
-  fields.
-
-* Sun May 03 1998 Arne Coucheron <arneco@online.no>
-  [0.19-1]
-- removed some older changelogs
-
-* Wed Apr 28 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.18-2]
-- removed COPYING from %doc (copyright statment is in Copyright field),
-- /sbin/ldconfig is now -p parameter in %post, %postun,
-- replaced "mkdir -p" with "install -d" in %install,
-- added "Requires: xdelta = %%{PACKAGE_VERSION}" for devel,
-- added using %defattr macro in %files (requires rpm >= 2.4.99),
-- added using predefined macro %%{PACKAGE_VERSION} instead %{version},
-- changed permission on /usr/lib/lib*.so links to 644,
-- removed /usr/lib/libxdelta.la from devel,
-- added striping /usr/lib/lib*.so.*.* libs,
-- Buildroot changed to /tmp/xdelta-%%{PACKAGE_VERSION}-root.
-
-* Fri Apr 24 1998 Arne Coucheron <arneco@online.no>
-  [0.18-1]
-- removed the fakeglib patch
-
-* Wed Apr 08 1998 Arne Coucheron <arneco@online.no>
-  [0.15-2]
-- splitted the package into a main and devel package
-
-* Sat Apr 04 1998 Arne Coucheron <arneco@online.no>
-  [0.15-1]
+* Fri May 28 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.1.1-2]
+- based on spec from RH contrib,
+- spec rewrited by PLD team,
+- pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.
This page took 0.040178 seconds and 4 git commands to generate.