cacb59c
Name:           gtk-splitter
cacb59c
Version:        2.2.1
0778ffc
Release:        7%{?dist}
cacb59c
Summary:        A file splitter
cacb59c
cacb59c
Group:          Applications/System
cacb59c
License:        GPLv2+
cacb59c
URL:            http://gtk-splitter.sourceforge.net/
cacb59c
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
cacb59c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cacb59c
cacb59c
BuildRequires:  mhash-devel
cacb59c
BuildRequires:  gtk2-devel
cacb59c
cacb59c
BuildRequires:  desktop-file-utils
cacb59c
cacb59c
cacb59c
%description
cacb59c
gtk-splitter can split files into smaller pieces and combine them back
cacb59c
together. It can also generate a DOS batch file so that the split
cacb59c
files can be combined on DOS/Windows systems. gtk-splitter is good for
cacb59c
working around file limitations with floppy disks, email attachments,
cacb59c
etc.
cacb59c
cacb59c
cacb59c
%prep
cacb59c
%setup -q
cacb59c
cacb59c
cacb59c
%build
cacb59c
%configure
cacb59c
make %{?_smp_mflags}
cacb59c
cacb59c
cacb59c
%install
cacb59c
rm -rf %{buildroot}
cacb59c
make install DESTDIR=%{buildroot} INSTALL="install -p"
cacb59c
rm -rf %{buildroot}%{_prefix}/doc/%{name}-%{version}
cacb59c
desktop-file-install                                    \
cacb59c
    --remove-category="GNOME;Application;"              \
cacb59c
    --dir=%{buildroot}%{_datadir}/applications          \
cacb59c
    %{buildroot}%{_datadir}/applications/%{name}.desktop
cacb59c
cacb59c
cacb59c
%clean
cacb59c
rm -rf %{buildroot}
cacb59c
cacb59c
cacb59c
%files
cacb59c
%defattr(-,root,root,-)
cacb59c
%doc AUTHORS ChangeLog COPYING HOSTS NEWS README TODO
cacb59c
%{_bindir}/%{name}
cacb59c
%{_datadir}/applications/%{name}.desktop
cacb59c
%{_datadir}/pixmaps/%{name}.png
cacb59c
cacb59c
cacb59c
%changelog
0778ffc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-7
0778ffc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0778ffc
b124af8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-6
b124af8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b124af8
a00199a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-5
a00199a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a00199a
95eae73
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 2.2.1-4
95eae73
- Rebuild for new libpng
95eae73
93c60d1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-3
93c60d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
93c60d1
cacb59c
* Wed Aug 26 2009 Fabian Affolter <fabian@bernewireless.net> - 2.2.1-2
cacb59c
- Changed doc stuff installation
cacb59c
- Removed categories during .desktop file installation
cacb59c
cacb59c
* Sun Aug 23 2009 Fabian Affolter <fabian@bernewireless.net> - 2.2.1-1
cacb59c
- Initial package for Fedora