rpms/libpar2/F-8 libpar2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Adel Gadllah (drago01) fedora-extras-commits at redhat.com
Sun Dec 30 10:59:59 UTC 2007


Author: drago01

Update of /cvs/pkgs/rpms/libpar2/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20710/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	libpar2.spec 
Log Message:

Initial Import



--- NEW FILE libpar2.spec ---
Name: libpar2
Version: 0.2       
Release: 4%{?dist}
Summary: Library for performing comman tasks related to PAR recovery sets
     
Group: System Environment/Libraries
License: GPLv2+        
URL: http://parchive.sourceforge.net/           
Source0: http://prdownloads.sourceforge.net/sourceforge/parchive/%{name}-%{version}.tar.gz     
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  
BuildRequires: libsigc++20-devel
BuildRequires: sed

%description
LibPar2 allows for the generation, modification, verification,
and repair of PAR v1.0 and PAR v2.0(PAR2) recovery sets.
It contains the basic functions needed for working with these
sets and is the basis for GUI applications such as GPar2.


%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q
#fix source files
chmod -x *.cpp *.h ChangeLog
touch tmpfile -r README 
sed -i 's/\r//' README
touch -r tmpfile README
touch tmpfile -r ROADMAP 
sed -i 's/\r//' ROADMAP
touch -r tmpfile ROADMAP
touch tmpfile -r AUTHORS
sed -i 's/\r//' AUTHORS
touch -r tmpfile AUTHORS

%build
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%doc COPYING README ChangeLog AUTHORS ROADMAP

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/%{name}/include/

%changelog
* Sat Dec 29 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.2-4
- Preserve doc timestamps

* Sat Dec 29 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.2-3
- Drop makefile patch
- Some cleanups

* Sat Dec 29 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.2-2
- Preserve timestamps
- Package docs
- Fix description

* Fri Dec 28 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.2-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libpar2/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	29 Dec 2007 21:19:13 -0000	1.1
+++ .cvsignore	30 Dec 2007 10:59:25 -0000	1.2
@@ -0,0 +1 @@
+libpar2-0.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libpar2/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 Dec 2007 21:19:13 -0000	1.1
+++ sources	30 Dec 2007 10:59:25 -0000	1.2
@@ -0,0 +1 @@
+94c6df4e38efe08056ecde2a04e0be91  libpar2-0.2.tar.gz




More information about the fedora-extras-commits mailing list